Math 2.0

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 n\sqrt{n}, but it is slow for large nn. 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
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Divisibility definition
  2. Prime number definition
  3. Primality test concept

Where this leads

3 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Primality_test, lead section
About this page
Tag0EGJZHZ02C
URIm2://0EGJZHZ02C
Kindconcept
WritingW1 stated
MSC11Y11
UsesPrime 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.

What links here

Special cases

Used by

Results about this