HOME

TheInfoList



OR:

In
number theory Number theory (or arithmetic or higher arithmetic in older usage) is a branch of pure mathematics devoted primarily to the study of the integers and integer-valued functions. German mathematician Carl Friedrich Gauss (1777–1855) said, "Mathe ...
, Proth's theorem is a
primality test A primality test is an algorithm for determining whether an input number is prime. Among other fields of mathematics, it is used for cryptography. Unlike integer factorization, primality tests do not generally give prime factors, only stating wheth ...
for Proth numbers. It states that if ''p'' is a Proth number, of the form ''k''2''n'' + 1 with ''k'' odd and ''k'' < 2''n'', and if there exists an
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the languag ...
''a'' for which :a^\equiv -1 \pmod, then ''p'' is
prime A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only way ...
. 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, furthermore, since the calculation is ''mod p'', only values of ''a'' smaller than ''p'' have to be taken into consideration. In practice, however, a
quadratic nonresidue In number theory, an integer ''q'' is called a quadratic residue modulo ''n'' if it is congruent to a perfect square modulo ''n''; i.e., if there exists an integer ''x'' such that: :x^2\equiv q \pmod. Otherwise, ''q'' is called a quadratic ...
of ''p'' is found via a modified Euclid's algorithm and taken as the value of ''a'', since if ''a'' is a
quadratic nonresidue In number theory, an integer ''q'' is called a quadratic residue modulo ''n'' if it is congruent to a perfect square modulo ''n''; i.e., if there exists an integer ''x'' such that: :x^2\equiv q \pmod. Otherwise, ''q'' is called a quadratic ...
modulo ''p'' then the converse is also true, and the test is conclusive. For such an ''a'' the
Legendre symbol In number theory, the Legendre symbol is a multiplicative function with values 1, −1, 0 that is a quadratic character modulo an odd prime number ''p'': its value at a (nonzero) quadratic residue mod ''p'' is 1 and at a non-quadratic residue ...
is :: \left(\frac\right)=-1 . Thus, in contrast to many
Monte Carlo Monte Carlo (; ; french: Monte-Carlo , or colloquially ''Monte-Carl'' ; lij, Munte Carlu ; ) is officially an administrative area of the Principality of Monaco, specifically the ward of Monte Carlo/Spélugues, where the Monte Carlo Casino is ...
primality test A primality test is an algorithm for determining whether an input number is prime. Among other fields of mathematics, it is used for cryptography. Unlike integer factorization, primality tests do not generally give prime factors, only stating wheth ...
s (randomized algorithms that can return a
false positive A false positive is an error in binary classification in which a test result incorrectly indicates the presence of a condition (such as a disease when the disease is not present), while a false negative is the opposite error, where the test result ...
), the primality testing algorithm based on Proth's theorem is a
Las Vegas algorithm In computing, a Las Vegas algorithm is a randomized algorithm that always gives correct results; that is, it always produces the correct result or it informs about the failure. However, the runtime of a Las Vegas algorithm differs depending on th ...
, always returning the correct answer but with a running time that varies randomly. Note that if ''a'' is chosen to be a quadratic nonresidue as described above, the runtime is constant, safe for the time spent on finding such a quadratic nonresidue. Finding such a value is very fast compared to the actual test.


Numerical examples

Examples of the theorem include: * for ''p'' = 3 = 1(21) + 1, we have that 2(3-1)/2 + 1 = 3 is divisible by 3, so 3 is prime. * for ''p'' = 5 = 1(22) + 1, we have that 3(5-1)/2 + 1 = 10 is divisible by 5, so 5 is prime. * for ''p'' = 13 = 3(22) + 1, we have that 5(13-1)/2 + 1 = 15626 is divisible by 13, so 13 is prime. * for ''p'' = 9, which is not prime, there is no ''a'' such that ''a''(9-1)/2 + 1 is divisible by 9. The first Proth primes are : :3, 5, 13, 17, 41, 97, 113,
193 Year 193 ( CXCIII) was a common year starting on Monday (link will display the full calendar) of the Julian calendar. At the time, it was known as the Year of the Consulship of Sosius and Ericius (or, less frequently, year 946 ''Ab urbe condi ...
, 241, 257, 353, 449, 577, 641, 673, 769, 929, 1153 …. The largest known Proth prime is 10223 \cdot 2^ + 1, and is 9,383,761 digits long. It was found by Peter Szabolcs in the
PrimeGrid PrimeGrid is a volunteer computing project that searches for very large (up to world-record size) prime numbers whilst also aiming to solve long-standing mathematical conjectures. It uses the Berkeley Open Infrastructure for Network Computing ...
volunteer computing Volunteer computing is a type of distributed computing in which people donate their computers' unused resources to a research-oriented project, and sometimes in exchange for credit points. The fundamental idea behind it is that a modern desktop co ...
project which announced it on 6 November 2016. It is also the largest known non-
Mersenne prime In mathematics, a Mersenne prime is a prime number that is one less than a power of two. That is, it is a prime number of the form for some integer . They are named after Marin Mersenne, a French Minim friar, who studied them in the early 17th ...
and largest Colbert number. The second largest known Proth prime is 202705\cdot 2^ + 1, found by
PrimeGrid PrimeGrid is a volunteer computing project that searches for very large (up to world-record size) prime numbers whilst also aiming to solve long-standing mathematical conjectures. It uses the Berkeley Open Infrastructure for Network Computing ...
.


Proof

The proof for this theorem uses the Pocklington-Lehmer primality test, and closely resembles the proof of
Pépin's test In mathematics, Pépin's test is a primality test, which can be used to determine whether a Fermat number is prime. It is a variant of Proth's test. The test is named for a French mathematician, Théophile Pépin. Description of the test Let F_n ...
. The proof can be found on page 52 of the book by Ribenboim in the references.


History

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


See also

*
Pépin's test In mathematics, Pépin's test is a primality test, which can be used to determine whether a Fermat number is prime. It is a variant of Proth's test. The test is named for a French mathematician, Théophile Pépin. Description of the test Let F_n ...
(the special case ''k'' = 1, where one chooses ''a'' = 3) * Sierpinski number


References


External links

* {{number theoretic algorithms Primality tests Theorems about prime numbers de:Prothsche Primzahl nl:Prothgetal