Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.5.5* ($ax^2 + b y^2 \equiv c \pmod p$ is solvable if $p \nmid ab$)
Exercise 4.5.5* ($ax^2 + b y^2 \equiv c \pmod p$ is solvable if $p \nmid ab$)
Given any integers and any prime not a divisor of , prove that is solvable.
Answers
Proof. This is equivalent to proof that the equation has a solution if .
Consider the two subsets of , defined by
Let denote the set of squares in . We know that there are squares in , and is a square, so
Moreover, since and , the maps and are bijections on , thus
If were disjoint, then
and we obtain the contradiction , so . This shows that there is some and some such that , so the congruence is solvable. □