Exercise 3.11

Let a 1 , … , a ϕ ( n ) be a reduced residue system modulo n and let N be the number of solutions to x 2 ≡ 1 ( mod n ) . Prove that a 1 ⋯ a ϕ ( n ) ≡ ( − 1 ) N ∕ 2 ( mod n ) .

Answers

Proof. If n = 2 , then N = 1 and the result is false. So we suppose n > 2 .

Let H be the subset of ℤ ∕ nℤ containing all x ∈ ℤ ∕ nℤ such that x 2 = 1 :

H = { x ∈ ℤ ∕ nℤ | x 2 = 1 }

(here 1 = 1 ¯ ).

Then H ⊂ U ( ℤ ∕ nℤ ) , 1 ∈ H ≠ ∅ , and

x ∈ H , y ∈ H ⇒ x 2 = y 2 = 1 ⇒ ( x y − 1 ) 2 = 1 ⇒ x y − 1 ∈ H ,

so H is a subgroup of ( U ( ℤ ∕ nℤ ) , × ) , and N = Card H .

Each x ∈ U ( ℤ ∕ nℤ ) such that x ∉ H can be paired with its inverse x − 1 , and x x − 1 = 1 , so

P : = ∏ x ∈ U ( ℤ ∕ nℤ ) x = ∏ x ∈ H x .

If x ∈ H , − x ∈ H .

∙ If n is odd, each x = a ¯ ∈ H ( a ∈ ℤ , 1 ≤ a ≤ n − 1 ) satisfies − x ≠ x : otherwise 2 a ≡ 0 ( mod n ) , 2 a = kn , k ∈ ℤ . As 0 < 2 a = kn < 2 n , then k = 1 , and n = 2 a is even, in contradiction with the hypothesis.

So each x ∈ H can be paired with − x in the product P , and x ( − x ) = − 1 , so

P = ∏ x ∈ H x = ( − 1 ) N ∕ 2 .

∙ If n is even, assume that some x = a ¯ ∈ H ( a ∈ ℤ , 1 ≤ a ≤ n − 1 ) satisfies x = − x , then 0 < a = k n 2 < n , so a = n 2 , and x = ( n 2 ) ¯ is the only element in ℤ ∕ nℤ such that x = − x . Then 2 ¯ x = 0 ¯ , and x ∈ H , so 2 ¯ x 2 = 0 ¯ , 2 ¯ = 0 ¯ . Since n > 2 , this is impossible, so x ≠ − x for all x ∈ H , and ∏ ⁡ x ∈ H x = ( − 1 ) N ∕ 2 .

Conclusion: if n > 2 ,

∏ x ∈ U ( ℤ ∕ nℤ ) x = ( − 1 ) N ∕ 2 .

If a 1 , … , a ϕ ( n ) is a reduced residue system modulo n , then a 1 ⋯ a ϕ ( n ) ¯ = P = ∏ ⁡ x ∈ U ( ℤ ∕ nℤ ) x = ( − 1 ) N ∕ 2 , so

a 1 ⋯ a ϕ ( n ) ≡ ( − 1 ) N ∕ 2 ( mod n ) .

□

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