PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Revision difference : Legendre symbol
Version 8 Version 7
\textbf{Legendre Symbol.}\\ \textbf{Legendre Symbol.}\\
Let $p$ be an odd prime. The \emph{Legendre symbol} $\left(\frac{a}{p}\right)$ or $(a|p)$ is defined as: Let $p$ be an odd prime. The \emph{Legendre symbol} $\left(\frac{a}{p}\right)$ or $(a\mid p)$ is defined as:
\[ \[
\left(\frac{a}{p}\right) = \left(\frac{a}{p}\right) =
\begin{cases} \begin{cases}
1 &\text{if }a \text{ is a quadratic residue }\pmod{p}\\ 1 &\text{if }a \text{ is a quadratic residue }\pmod{p}\\
-1 &\text{if }a \text{ is a quadratic nonresidue }\pmod{p}\\ -1 &\text{if }a \text{ is a non-quadratic residue }\pmod{p}\\
0 & \text{if } p \text{ divides }a 0 & \text{if } p \text{ divides }a
\end{cases} \end{cases}
\] \]
The Legendre symbol can be computed by means of Euler's criterion or Gauss' lemma. 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. A generalization of this symbol is the Jacobi Symbol.