Exercise 1.3.42 (Fermat primes)

If 2 n + 1 is an odd prime for some integer n , prove that n is a power of 2 .

Answers

Proof. We prove the contraposition: if n 1 is not a power of 2 , then N = 2 n + 1 is composite.

If n 1 is not a power of 2 (then n 2 0 = 1 , so n > 1 ), it’s decomposition in prime factors shows that n is a product of a power of 2 by an odd integer greater than 1 :

n = 2 l ( 2 k + 1 ) , l 0 , k 1 .

Then

N = 2 n + 1 = 2 2 l ( 2 k + 1 ) + 1 = x 2 k + 1 + 1

where x = 2 2 l is an integer.

But

x 2 k + 1 + 1 = ( x + 1 ) ( x 2 k x 2 k 1 + + ( 1 ) i x i + + 1 ) = ( x + 1 ) i = 0 2 k ( 1 ) i x i .

Write q = i = 0 2 k ( 1 ) i x i = x 2 k + 1 + 1 x + 1 . Then

N = ( x + 1 ) q ,

Using k 1 ,

1 < x + 1 = 2 2 l + 1 < 2 2 l ( 2 k + 1 ) + 1 = N ,

so 1 < x + 1 < N . Therefore N is composite.

If 2 n + 1 is an odd prime for some integer n , then n = 2 l is a power of 2

User profile picture
2024-07-12 09:59
Comments