English

Four primality testing algorithms

Number Theory 2008-01-25 v1

Abstract

In this expository paper we describe four primality tests. The first test is very efficient, but is only capable of proving that a given number is either composite or 'very probably' prime. The second test is a deterministic polynomial time algorithm to prove that a given numer is either prime or composite. The third and fourth primality tests are at present most widely used in practice. Both tests are capable of proving that a given number is prime or composite, but neither algorithm is deterministic. The third algorithm exploits the arithmetic of cyclotomic fields. Its running time is almost, but not quite polynomial time. The fourth algorithm exploits elliptic curves. Its running time is difficult to estimate, but it behaves well in practice.

Keywords

Cite

@article{arxiv.0801.3840,
  title  = {Four primality testing algorithms},
  author = {Rene Schoof},
  journal= {arXiv preprint arXiv:0801.3840},
  year   = {2008}
}

Comments

21 pages

R2 v1 2026-06-21T10:06:17.288Z