Proth's theorem

In number theory, Proth's theorem is a primality test for Proth numbers.

It states that if p is a Proth number, of the form k2n + 1 with k odd and k < 2n, and if there exists an integer a for which

then p is prime. In this case p is called a Proth prime. This is a practical test because if p is prime, any chosen a has about a 50 percent chance of working.

If a is a quadratic nonresidue modulo p then the converse is also true, and the test is conclusive. Such an a may be found by iterating a over small primes and computing the Jacobi symbol until:

Thus, in contrast to many Monte Carlo primality tests (randomized algorithms that can return a false positive), the primality testing algorithm based on Proth's theorem is a Las Vegas algorithm, always returning the correct answer but with a running time that varies randomly.

Numerical examples

Examples of the theorem include:

The first Proth primes are (sequence A080076 in the OEIS):

3, 5, 13, 17, 41, 97, 113, 193, 241, 257, 353, 449, 577, 641, 673, 769, 929, 1153 ….

The largest known Proth prime as of 2016 is , and is 9,383,761 digits long.[1] It was found by Szabolcs Peter in the PrimeGrid distributed computing project which announced it on 6 November 2016.[2] It is also the largest known non-Mersenne prime.[3] Second largest known Proth prime is 19249 · 213018586 + 1, found by Seventeen or Bust.[4]

History

François Proth (1852–1879) published the theorem around 1878.

See also

References

This article is issued from Wikipedia - version of the 11/30/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.