statement theorem
Fermat's little theorem
Statement
Let be a prime number and let be an integer that does not divide. Then .
Remarks
An equivalent form is Fermat's little theorem in the form a^p = a: for each integer . In the ring , the statement is for each nonzero . It follows from Lagrange's theorem for the multiplicative group of , which has elements. Euler's theorem generalizes the result to each modulus . The converse is false. For example, , but . 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 and : , so . The theorem says that this always happens for a prime and a number that does not divide. It lets you reduce large powers: .
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.
- no evidence level
- Divisibility definition
- Congruence modulo n definition
- Prime number definition
- Fermat's little theorem statement
What depends on this
14 nodes use this node, directly or through other nodes.
- −1 is a square modulo p if and only if p is not 3 modulo 4 00DW862T78
- Fermat pseudoprime 02M2K4QH9P
- Fermat's theorem on sums of two squares 043B3ENSTY
- Sum of two squares theorem 04NPWJMA6H
- Law of quadratic reciprocity 085MJS6907
- Fermat's little theorem in the form a^p = a 0BMXWXDVJZ
- Euler's criterion 0M7DEDKSYB
- Multiplicativity of the Legendre symbol 0NW1JP7TBR
- First supplement to quadratic reciprocity 0PHBS78HKT
- Miller–Rabin primality test 0SZCSYHW60
- Carmichael number 0TA7WT68RK
- A prime is a Gaussian prime if and only if it is 3 modulo 4 0WMJSEFYFE
- The order modulo p divides p − 1 0Y4B7P0GS8
- Quadratic reciprocity for the Jacobi symbol 0YY06KP3ZQ
Sources
What links here
Used by
- Fermat pseudoprime 02M2K4QH9P
- Fermat's little theorem in the form a^p = a 0BMXWXDVJZ
- Euler's criterion 0M7DEDKSYB
- Miller–Rabin primality test 0SZCSYHW60
- The order modulo p divides p − 1 0Y4B7P0GS8