Exercise 4.12

Use the existence of a primitive root to give another proof of Wilson’s theorem ( p − 1 ) ! ≡ − 1 ( mod p ) .

Answers

Proof. As the result is trivial if p = 2 , we suppose that p is an odd prime.

Let g be a primitive root modulo p . Then g ¯ is a generator of 𝔽 p ∗ .

As ( g ¯ ( p − 1 ) ∕ 2 ) 2 = g ¯ p − 1 = 1 ¯ , and g ¯ ( p − 1 ) ∕ 2 ≠ 1 in the field 𝔽 p ∗ , then g ¯ ( p − 1 ) ∕ 2 = − 1 , and ( 1 ¯ , g ¯ , g ¯ 2 , … , g ¯ p − 2 ) is a permutation of ( 1 ¯ , 2 ¯ , … , p − 1 ¯ ) , thus

( p − 1 ) ! ¯ = ∏ k = 0 p − 2 g ¯ k = g ¯ ∑ k = 0 p − 2 k = g ¯ ( p − 2 ) ( p − 1 ) ∕ 2 = ( g ¯ ( p − 1 ) ∕ 2 ) p − 2 = ( − 1 ¯ ) p − 2 = − 1 .

Hence ( p − 1 ) ! ≡ − 1 ( mod p ) for each prime p . □

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