Q. 124

Question

Pierre de Fermat 1601-1665 conjectured that the function

fx=22x+1

for x=1,2,3,... would always have a value equal to a prime number. But Leonhard Euler 1707-1783 showed that this formula fails for x=5. Use a calculator to determine the prime numbers produced by f for x=1,2,3,4. Then show that f5=641×6,700,417, which is not prime.

Step-by-Step Solution

Verified
Answer

To show that the formula fails for x=5 and also show that f5=641×6,700,417 is not a prime number first substitute x=1,2,3,4,5,... and solve the equation.

1Step 1. Given information.

Consider the given question,

fx=22x+1

Substitute x=1 in the equation,

f1=221+1=22+1=4+1=5

Substitute x=2 in the equation,

f2=222+1=24+1=16+1=17

2Step 2. Find for f 3 , f 4 .

Substitute x=3 in the equation,

f3=223+1=28+1=256+1=257

Substitute x=4  in the equation,

f4=224+1=216+1=65,536+1=65,537

Then, the prime numbers produced for f for x=1,2,3,4,5,17,...,65537.

3Step 3. Find for f 5 .

Substitute x=5 in the equation,

f5=225+1=232+1=4,294,967,296+1=4,294,967,297

f5 evaluates to 4,294,967,297 which is not a prime number since it has two factors 641 and 6,700,417. That is 4,294,967,297 is equivalent to 641×6,700,417.

Hence, the formula fails for x=5.