Number theory Congruences Theorem
Fermat's little theorem
Builds on Prime numberCongruence modulo n
Statement
Let be a prime number and let be an integer that does not divide. Then .
Remarks
An equivalent form is Fermat's little theorem in the form a^p = a: for each integer . In the ring , the statement is for each nonzero . It follows from Lagrange's theorem for the multiplicative group of , which has elements. Euler's theorem generalizes the result to each modulus . The converse is false. For example, , but . See Fermat pseudoprime.
History
Fermat stated the theorem in a letter of 1640, without a proof. Euler published the first known proof in 1736. Leibniz had a proof earlier, in an unpublished manuscript.
Reading path
To understand this page from the ground up, read these 4 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Divisibility definition
- Congruence modulo n definition
- Prime number definition
- Fermat's little theorem statement
Where this leads
20 pages build on this one.
- −1 is a square modulo p if and only if p is not 3 modulo 4
- Fermat pseudoprime
- Fermat's theorem on sums of two squares
- Sum of two squares theorem
- Law of quadratic reciprocity
- Fermat's little theorem in the form a^p = a
- Euler's criterion
- Multiplicativity of the Legendre symbol
- First supplement to quadratic reciprocity
- Miller–Rabin primality test
- Carmichael number
- A prime is a Gaussian prime if and only if it is 3 modulo 4
- The order modulo p divides p − 1
- Quadratic reciprocity for the Jacobi symbol
- Artin reciprocity law
- Cubic reciprocity
- Hilbert class field
- Quartic reciprocity
- AKS primality test
- Integer factorization
Further reading
About this page
| Tag | 0M25PRN3WQ |
|---|---|
| URI | m2://0M25PRN3WQ |
| Kind | statement, theorem |
| Writing | W1 stated |
| MSC | 11A07 |
| Status | This copy of the site has no build data. Run m2 status 0M25PRN3WQ. |
| Uses | Prime number, Congruence modulo n |
| Same as |
Markdown · JSON · Edit on GitHub
What this page 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 page is. They do not measure its truth.