Let $p$ be an odd prime number. Prove that the product of the quadratic residues modulo $p$ is congruent to $1$ modulo $p$ if and only if $p \equiv 3 \pmod 4$.
I've tried using the fact that any quadratic residue modulo $p$ must be one of the numbers $1,2,\ldots,p-1$. But then I got stuck. This problem should be solvable without any Legendre symbol trickiness.
And for the "only if" part, we assume that $p \equiv 3 \pmod 4$ so $p=4k+3$. But that only reduces the factorial to $\left( 2k+2 \right)!$, how does that reduce?
– Numbersandsoon Oct 30 '13 at 03:37