Math 2.0

statement theorem

Wilson's theorem

Statement

Let pp be a prime number. Then (p−1)!≡−1(modp)(p - 1)! \equiv -1 \pmod p.

Remarks

A proof: in Z/pZ\mathbb{Z}/p\mathbb{Z}, each element of {1‾,…,p−1‾}\{ \overline{1}, \dots, \overline{p - 1} \} has an inverse. Only 1‾\overline{1} and −1‾\overline{-1} are their own inverses. The other elements cancel in pairs in the product. For example, 4!=24≡−1(mod5)4! = 24 \equiv -1 \pmod 5 and 6!=720≡−1(mod7)6! = 720 \equiv -1 \pmod 7. The converse of Wilson's theorem also holds, so the congruence characterizes the primes.

History

Ibn al-Haytham stated the result about the year 1000. Edward Waring announced it in 1770 and named his student John Wilson as its discoverer. Lagrange gave the first proof in 1771.

Explanations

L1 human

Multiply all the numbers from 11 to p−1p - 1, and divide by pp. The remainder is always p−1p - 1. For p=7p = 7: 1⋅2⋅3⋅4⋅5⋅6=720=102⋅7+61 \cdot 2 \cdot 3 \cdot 4 \cdot 5 \cdot 6 = 720 = 102 \cdot 7 + 6.

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. Wilson's theorem statement

What depends on this

1 node uses this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Wilson%27s_theorem, lead section