Exercise 3.21

 Use Ex. 18-20 to find the number of solutions to x 2 1 ( mod n ) .

Answers

Proof. Let n = 2 a 0 p 1 a 1 p k a k be the decomposition in prime factors of n > 1 ( p 0 = 2 < p 1 < < p k , a 0 0 , a i > 0 , 1 i k ). Let N be the number of solutions of x 2 1 ( mod n ) , and N i the number of solutions of x 2 1 ( mod p i a i ) , i = 0 , 1 , k . From Ex.3.18, we know that N = N 0 N 1 N k , where (Ex. 3.19), N i = 2 , i = 1 , 2 , , k , and (Ex.3.20), N 0 = 1 if a 0 = 1 (or a 0 = 0 ), N 0 = 2 if a 0 = 2 , N 0 = 4 if a 0 3 .

Conclusion : the number of solutions of x 2 1 ( mod n ) , where n = 2 a 0 p 1 a 1 p k a k , is

N = 2 k if a 0 = 0 or a 0 = 1 N = 2 k + 1 if a 0 = 2 N = 2 k + 2 if a 0 3
User profile picture
2022-07-19 00:00
Comments