Exercise 5.10

Let r 1 , r 2 , … , r ( p − 1 ) ∕ 2 be the quadratic residues between 1 and p . Show that their product is congruent to 1 ( mod p ) if p ≡ 3 ( mod 4 ) , and to − 1 if p ≡ 1 ( mod 4 ) .

Answers

Proof. We have proved in Ex. 5.9 that

[ ( p − 1 2 ) ! ] 2 ≡ ( − 1 ) ( p + 1 ) ∕ 2 ( mod p ) .

The application f : { { 1 ¯ , 2 ¯ , … , ( p − 1 ) ∕ 2 ¯ } ↦ { r 1 ¯ , r 2 ¯ , … , r ( p − 1 ) ∕ 2 ¯ } x ↦ x 2 is a bijection, so

∏ i = 1 ( p − 1 ) ∕ 2 r i ≡ [ ( p − 1 2 ) ! ] 2 ( mod p ) ,

so

∏ i = 1 ( p − 1 ) ∕ 2 r i ≡ ( − 1 ) ( p + 1 ) ∕ 2 ( mod p ) .

That is to say, the product of the quadratic residues between 1 and p is congruent to 1 ( mod p ) if p ≡ 3 ( mod 4 ) , and to − 1 if p ≡ 1 ( mod 4 ) . □

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