I have found various proofs of this question usig primitive roots, but I want to prove it without using primitive roots!
Here is my question again:
Let $p$ be prime. Prove that there are the same number of quadratic residues modulo p as there are non-residues. Clearly state where you have used that $p$ is prime.
Thanks! :)
$p$ is prime, so by Euclid's Lemma:
$$\iff x\equiv \pm a\pmod{p}$$
Therefore $(\pm 1)^2$, $(\pm 2)^2$, $((p-1)/2)^2$ are all the quadratic residues.
– user236182 Feb 06 '16 at 02:31