Proof of Fermat's little theorem in the form a^p = a
Builds on Fermat's little theoremPrime numberCongruence modulo nDivisibilityCongruence is compatible with multiplication
Proof
We argue by cases on whether divides .
- Let be a prime number and let be an integer.
- Case . Write with an integer . Since , we have .
- So divides , and by the definition of congruence.
- Case . By Fermat's little theorem, .
- Since , compatibility with multiplication gives , that is, .
- In both cases, .
Idea
When divides , both sides are multiples of . Otherwise, multiply Fermat's congruence by .
Reading path
To understand this page from the ground up, read these 33 pages in order. The foundations come first. The path takes the proofs Proof of Bézout's identity, Proof of the generalized Euclid's lemma, Proof of the commutativity of addition by induction, Proof of Fermat's little theorem by rearrangement, Proof of Euclid's lemma, Proof of strong induction from ordinary induction, Proof that congruence is compatible with multiplication, Proof of the well-ordering principle from strong induction, Proof of the division algorithm.
Show the path as a graph
- no evidence level
- Definition by recursion concept
- Divisibility definition
- Mathematical induction concept
- Natural numbers object
- Peano axioms concept
- Congruence modulo n definition
- Greatest common divisor definition
- Prime number definition
- Successor function definition
- Proof that congruence is compatible with multiplication proof
- Coprime integers definition
- Addition of natural numbers definition
- The successor function is injective statement
- Zero is not a successor statement
- Congruence is compatible with multiplication statement
- Proof of the commutativity of addition by induction proof
- Order on the natural numbers definition
- Commutativity of addition statement
- Proof of strong induction from ordinary induction proof
- Strong induction statement
- Proof of the well-ordering principle from strong induction proof
- Well-ordering principle statement
- Proof of the division algorithm proof
- Division algorithm statement
- Proof of Bézout's identity proof
- Bézout's identity statement
- Proof of the generalized Euclid's lemma proof
- Generalized Euclid's lemma statement
- Proof of Euclid's lemma proof
- Euclid's lemma statement
- Proof of Fermat's little theorem by rearrangement proof
- Fermat's little theorem statement
- Proof of Fermat's little theorem in the form a^p = a proof
Where this leads
8 pages build on this one.
- Lucas–Lehmer test
- Fermat's little theorem in the form a^p = a
- Irreducibility of the cyclotomic polynomials over the rationals
- Gauss–Wantzel theorem
- Proof of the Lucas–Lehmer test
- Cyclotomic field
- Proof of the irreducibility of the cyclotomic polynomials by reduction modulo primes
- Proof of the Gauss–Wantzel theorem
Further reading
About this page
| Tag | ETNHNE0358 |
|---|---|
| URI | m2://ETNHNE0358 |
| Kind | proof |
| Writing | W0 stub |
| MSC | 11A07 |
| Proves | Fermat's little theorem in the form a^p = a |
| Uses | Fermat's little theorem, Prime number, Congruence modulo n, Divisibility, Congruence is compatible with multiplication |
| Methods | Proof by cases |
| Changed | 4 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.