I have a problem in solving my number theory homework. My question is as follows:
Let $p$ be an odd prime. Prove that $a$ is a quadratic residue mod $p$ if and only if the $I_{g}(x)$ (index with respect to any primitive root of $p$) is even.
Please edit my writing. Thanks. Does anyone know where to start? Thank you very much for everything!