Math 2.0

Number theory Congruences Theorem

Fermat's little theorem

Builds on Prime numberCongruence modulo n

Statement

Let pp be a prime number and let aa be an integer that pp does not divide. Then ap−1≡1(modp)a^{p-1} \equiv 1 \pmod p.

Remarks

An equivalent form is Fermat's little theorem in the form a^p = a: ap≡a(modp)a^p \equiv a \pmod p for each integer aa. In the ring ℤ/pℤ\mathbb{Z}/p\mathbb{Z}, the statement is xp−1=1x^{p-1} = 1 for each nonzero xx. It follows from Lagrange's theorem for the multiplicative group of ℤ/pℤ\mathbb{Z}/p\mathbb{Z}, which has p−1p - 1 elements. Euler's theorem generalizes the result to each modulus nn. The converse is false. For example, 2340≡1(mod341)2^{340} \equiv 1 \pmod{341}, but 341=11⋅31341 = 11 \cdot 31. 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
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Divisibility definition
  2. Congruence modulo n definition
  3. Prime number definition
  4. Fermat's little theorem statement

Where this leads

20 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Fermat%27s_little_theorem, lead section
About this page
Tag0M25PRN3WQ
URIm2://0M25PRN3WQ
Kindstatement, theorem
WritingW1 stated
MSC11A07
StatusThis copy of the site has no build data. Run m2 status 0M25PRN3WQ.
UsesPrime 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.

What links here

Used by