Number theory Finite fields and computational number theory Concept
Primality test
Builds on Prime number
Summary
A primality test is an algorithm that decides whether a given natural number is prime. Unlike factorization, it does not need to find the factors of a composite number.
Remarks
The simplest test is trial division by the primes up to , but it is slow for large . Probabilistic tests, such as the Fermat test and the Miller–Rabin test, are fast but can accept a composite number with a small probability. In 2002, Agrawal, Kayal and Saxena gave the first deterministic test that runs in polynomial time without an unproven hypothesis.
Reading path
To understand this page from the ground up, read these 3 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Divisibility definition
- Prime number definition
- Primality test concept
Where this leads
3 pages build on this one.
Further reading
- Web https://en.wikipedia.org/wiki/Primality_test, lead section
About this page
| Tag | 0EGJZHZ02C |
|---|---|
| URI | m2://0EGJZHZ02C |
| Kind | concept |
| Writing | W1 stated |
| MSC | 11Y11 |
| Uses | Prime number |
| Same as |
Markdown · JSON · Edit on GitHub
What this page needs for W2
- edge defines in: at least one definition (0 of 1)
- edge instance_of in: at least two examples (0 of 2)
- edge not_instance_of in: at least one non-example (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.