Math 2.0

statement theorem

Fermat's little theorem

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 Z/pZ\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 Z/pZ\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.

Explanations

L1 human

Take p=5p = 5 and a=2a = 2: 24=16=3⋅5+12^4 = 16 = 3 \cdot 5 + 1, so 24≡1(mod5)2^4 \equiv 1 \pmod 5. The theorem says that this always happens for a prime pp and a number aa that pp does not divide. It lets you reduce large powers: 2100=(24)25≡1(mod5)2^{100} = (2^4)^{25} \equiv 1 \pmod 5.

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 4 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Divisibility definition
  2. Congruence modulo n definition
  3. Prime number definition
  4. Fermat's little theorem statement

What depends on this

14 nodes use this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Fermat%27s_little_theorem, lead section