statement theorem
Euler's criterion
Statement
Let be an odd prime and let be an integer. Then where is the Legendre symbol.
Remarks
So for , the integer is a quadratic residue modulo if and only if . For example, , so is a quadratic nonresidue modulo . The proof uses Fermat's little theorem: satisfies , so . A consequence is the multiplicativity of the Legendre symbol.
History
Leonhard Euler found the criterion.
Explanations
L1 human
To test whether is a square modulo , raise to the power . The result is for a square and for a non-square, modulo . With fast modular exponentiation, this test is quick even for large .
What this node needs for W2
- edge about out: the concepts that the statement is about (0 of 1)
- edge proves in: at least one proof node (0 of 1)
- edge instance_of or illustrates in: one example that shows the statement at work (0 of 1)
- explanation L2 (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What this needs
To read this node, read these 7 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Divisibility definition
- Congruence modulo n definition
- Prime number definition
- Quadratic residue definition
- Fermat's little theorem statement
- Legendre symbol definition
- Euler's criterion statement
What depends on this
8 nodes use this node, directly or through other nodes.
- −1 is a square modulo p if and only if p is not 3 modulo 4 00DW862T78
- Fermat's theorem on sums of two squares 043B3ENSTY
- Sum of two squares theorem 04NPWJMA6H
- Law of quadratic reciprocity 085MJS6907
- Multiplicativity of the Legendre symbol 0NW1JP7TBR
- First supplement to quadratic reciprocity 0PHBS78HKT
- A prime is a Gaussian prime if and only if it is 3 modulo 4 0WMJSEFYFE
- Quadratic reciprocity for the Jacobi symbol 0YY06KP3ZQ
Sources
- Web https://en.wikipedia.org/wiki/Euler%27s_criterion, lead section
What links here
Used by
- Multiplicativity of the Legendre symbol 0NW1JP7TBR
- First supplement to quadratic reciprocity 0PHBS78HKT