A number theoretic function used to determine whether a given integer is a quadratic residue modulo an odd prime.