Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 3.3.12 (Solvability of $x^2 \equiv a \pmod{p^\alpha}$)
Exercise 3.3.12 (Solvability of $x^2 \equiv a \pmod{p^\alpha}$)
Consider the congruence with a prime, , . Prove that if then the congruence is solvable, and that if then the congruence is solvable if and only if is even and is solvable.
Answers
Proof. Consider the congruence with a prime, , .
Suppose first that . Then is a solution of the congruence , so is solvable (some nonzero solutions, such as also exist if ).
Suppose now that .
If the congruence is solvable, then . If , then is even, and if , then , thus . Write , where and . Then , where , thus , so , thus
If , then . Since , this is a contradiction, therefore is even. Moreover , so that the congruence is solvable.
Conversely, suppose that is even, and suppose that the congruence is solvable. Write , where is an integer, which gives . Let be a solution of this last congruence, so that . Then
This shows that the congruence is solvable.
If then the congruence is solvable, and that if then the congruence is solvable if and only if is even and is solvable. □