Let $p$ be an odd prime and $a, b \in \Bbb Z$ with $p$ doesn't divide $a$ and $a$ doesn't divide $b$. Prove that among the congruence's $x^2 \equiv a \mod p$, $\ x^2 \equiv b \mod p$, and $x^2 \equiv ab \mod p$, either all three are solvable or exactly one.
Please help I'm trying to study for final in number theory and I can't figure out this proof.
Best Answer
What you should prove directly is the following:
A counting argument then yields additionally:
These facts combined yield the desired answer, by breaking into cases as to whether or not $a,b$ are quadratic residues.