Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 3.1.23* ( The congruence $x^2 \equiv a \pmod {p^\alpha}$ has $1 + \genfrac{(}{)}{}{}{a}{p}$ solutions)
Exercise 3.1.23* ( The congruence $x^2 \equiv a \pmod {p^\alpha}$ has $1 + \genfrac{(}{)}{}{}{a}{p}$ solutions)
Show that if is an odd prime and , then has exactly solutions.
Answers
Proof. Let denote the number of solutions of . We show first the proposition for .
- If is a quadratic nonresidue, then has no solution, so , and , therefore .
- If is a quadratic residue, then , and , therefore .
In both cases
If , we apply the Hensel’s lemma (Theorem 2.23) to . Since is an odd prime, and , . Therefore, if are the two distinct solutions of , there is a unique root of modulo that lies above , and a unique root above . So, if ,
□