Math 2.0

statement corollary

Fermat's little theorem in the form a^p = a

Statement

Let pp be a prime number and let aa be an integer. Then ap≡a(modp)a^p \equiv a \pmod p.

Remarks

If p∤ap \nmid a, multiply Fermat's little theorem ap−1≡1(modp)a^{p-1} \equiv 1 \pmod p by aa. If p∣ap \mid a, both sides are 00 modulo pp. Conversely, this form implies the form ap−1≡1a^{p-1} \equiv 1: cancel aa, which is allowed when p∤ap \nmid a. In the ring Z/pZ\mathbb{Z}/p\mathbb{Z}, the form says that xp=xx^p = x for each element xx.

Explanations

L1 human

The form ap≡aa^p \equiv a needs no hypothesis on aa. For example, with p=3p = 3: 03=00^3 = 0, 13=11^3 = 1, 23=8≡22^3 = 8 \equiv 2, and 43=64≡1≡4(mod3)4^3 = 64 \equiv 1 \equiv 4 \pmod 3.

What this node 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 node is. They do not measure its truth.

What this needs

To read this node, read these 5 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
  5. Fermat's little theorem in the form a^p = a statement

Sources

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