A generalization of the Legendre symbol that allows for testing quadratic residues and non-residues modulo any odd integer.