Let $p$ be a prime and $a,b,c$ be integers. Prove that if $ab, ac, bc, abc$ are all quadratic residues $\mod {p}$ then so are $a, b$ and $c$.
I am really struggling with this question and would appreciate it if someone could explain the answer to me in detail. Thank you very much.
Suppose $a$ is not a quadratic residue, since $bc$ is a quadratic residue it follows $abc$ is not, contradiction.