Exercise 4.6

If p = 2 2 n + 1 is a Fermat prime, show that 3 is a primitive root modulo p .

Answers

Proof.

Solution 1 (with quadratic reciprocity).

Write p = 2 k + 1 , with k = 2 n .

We suppose that n > 0 , so k ≥ 2 , p ≥ 5 . As p is prime, 3 p − 1 ≡ 1 ( mod p ) .

In other words, 3 2 k ≡ 1 ( mod p ) : the order of 3 is a divisor of 2 k , a power of 2 .

3 has order 2 k modulo p iff 3 2 k − 1 ≢ 1 ( mod p ) . As ( 3 2 k − 1 ) 2 ≡ 1 ( mod p ) , where p is prime, this is equivalent to 3 2 k − 1 ≡ − 1 ( mod p ) , which remains to prove.

3 2 k − 1 = 3 ( p − 1 ) ∕ 2 ≡ ( 3 p ) ( mod p ) .

Since n ≥ 1 , k ≥ 2 , thus 2 k − 1 is even. By the law of quadratic reciprocity,

( 3 p ) ( p 3 ) = ( − 1 ) ( p − 1 ) ∕ 2 = ( − 1 ) 2 k − 1 = 1 .

Therefore ( 3 p ) = ( p 3 ) , and

p = 2 2 n + 1 ≡ ( − 1 ) 2 n + 1 ( mod 3 ) ≡ 2 ≡ − 1 ( mod 3 ) ,

so ( 3 p ) = ( p 3 ) = − 1 , that is to say

3 2 k − 1 ≡ − 1 ( mod p ) .

The order of 3 modulo p = 2 2 n + 1 is p − 1 = 2 2 n , i.e. 3 is a primitive root modulo p .

(On the other hand, if the order of 3 modulo p is p − 1 , then p is prime, so

F n = 2 2 n + 1 is prime ⟺ 3 ( F n − 1 ) ∕ 2 = 3 2 2 n − 1 ≡ − 1 ( mod F n ) . )

Solution 2 (without quadratic reciprocity, with the hint of chapter 4).

As above, if we suppose that 3 is not a primitive root modulo p , then

3 2 k − 1 ≡ 1 ( mod p ) ,

where k = 2 n ≥ 2 , and p = 2 k + 1 .

Therefore ( − 3 ) ( p − 1 ) ∕ 2 = 3 2 k − 1 ≡ 1 ( mod p ) , thus − 3 is a square modulo p . So there is some a ∈ ℤ such that − 3 ≡ a 2 ( mod p ) .

As 2 ∧ p = 1 , 2 has an inverse modulo p , so there exists u ∈ ℤ such that 2 u ≡ − 1 + a ( mod p ) ( u ¯ is similar to ω = − 1 + i 3 2 ∈ ℂ ). Then

8 u 3 ≡ ( − 1 + a ) 3 ≡ − 1 + 3 a − 3 a 2 + a 3 ≡ − 1 + 3 a + 9 − 3 a ≡ 8 ( mod p )

As p ∧ 2 = p ∧ 8 = 1 , u 3 ≡ 1 ( mod p ) . Moreover, if u ≡ 1 ( mod 3 ) , then a ≡ 3 ( mod p ) , − 3 ≡ 9 ( mod p ) , p ∣ 12 , so p = 2 or p = 3 , in contradiction with p ≥ 5 . So the order of u modulo p is 3 : ( ℤ ∕ pℤ ) ∗ contains an element u ¯ of order 3 . So 3 ∣ p − 1 , p ≡ 1 ( mod 3 ) , but p ≡ ( − 1 ) 2 n + 1 ≡ 2 ≡ − 1 ( mod 3 ) : this is a contradiction, so 3 is a primitive root modulo p = 2 2 n + 1 . □

User profile picture
2022-07-19 00:00
Comments