Congruence condition for minus one to be a quadratic residue
From Number
==Statement
Suppose is an odd prime. Then,
is a quadratic residue modulo
if and only if
. Equivalently,
is a quadratic nonresidue modulo
if and only if
.