Legendre Symbol. Let be an odd prime. The Legendre symbol or is defined as:
The Legendre symbol can be computed by means of Euler's criterion or Gauss' lemma.
Generalizations of this symbol are the Jacobi Symbol and the Kronecker symbol.