statement theorem
Pépin's test
Statement
Let be a positive integer and let be the Fermat number. Then is prime if and only if
Remarks
For example, and . The power can be computed by squarings with modular exponentiation. The "only if" part follows from Euler's criterion and quadratic reciprocity, since is a nonresidue modulo .
History
The test is named after Théophile Pépin.
Explanations
L1 human
Pépin's test decides whether a Fermat number is prime with one large modular power. The Fermat numbers grow so fast that the test is practical only for small .
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
- Fermat number definition
- Congruence modulo n definition
- Pépin's test statement
Sources
- Web https://en.wikipedia.org/wiki/P%C3%A9pin%27s_test, Description of the test
What links here
No node links to this node yet.