- Pseudoprime
A pseudoprime is a
probable prime (aninteger which shares a property common to allprime number s) which is not actually prime. Pseudoprimes can be classified according to which property they satisfy.The most important class of pseudoprimes come from
Fermat's little theorem and hence are called Fermat pseudoprimes. This theorem states that if "p" is prime and "a" iscoprime to "p", then "a""p"-1 - 1 isdivisible by "p". If a number "x" is not prime, "a" is coprime to "x" and "x" divides "a""x"-1 - 1, then "x" is called a "pseudoprime to base a". A number "x" that is a pseudoprime for all values of "a" that are coprime to "x" is called aCarmichael number .The smallest Fermat pseudoprime for the base 2 is 341. It is not a prime, since it equals 11 · 31, but it satisfies Fermat's little theorem: 2340≡1 (mod 341).
The rarity of such pseudoprimes has important practical implications. For example,
public-key cryptography algorithms such asRSA require the ability to quickly find large primes. The usual algorithm to generate prime numbers is to generate random odd numbers and test them for primality. However, deterministic primality tests are slow. If the user is willing to tolerate an arbitrarily small chance that the number found is not a prime number but a pseudoprime, it is possible to use the much faster and simplerFermat primality test .Another approach is to use more refined notions of pseudoprimality, e.g.
strong pseudoprime s orEuler-Jacobi pseudoprime s, for which there are no analogues of Carmichael numbers. This leads to probabilistic algorithms such as theSolovay-Strassen primality test and theMiller-Rabin primality test , which produce what are known asindustrial-grade primes . Industrial-grade primes are integers for which primality has not been "certified" (i.e. rigorously proven), but have undergone a test such as the Miller-Rabin test which has nonzero, but arbitrarily low, probability of failure.There are infinitely many pseudoprimes to a given base (in fact, infinitely many Carmichael numbers), but they are rather rare. There are only 3 pseudo-primes to base 2 below 1000, and below a million there are only 245. Pseudoprimes to base 2 are called Poulet numbers or sometimes Sarrus numbers or Fermatians OEIS|id=A001567. The factorizations of the 60 Poulet numbers and 13 Carmichael numbers (in bold) up to 60787 are in the below table.
|
A Poulet number all of whose divisors "d" divide 2"d" - 2 is called a
super-Poulet number . There are infinitely many Poulet numbers which are not super-Poulet Numbers.The first smallest pseudoprimes for bases "a" ≤ 200 are given in the following table; the colors mark the number of prime factors.
ee also
*Euler pseudoprime
** base-2 Euler pseudoprimes (sequence [http://www.research.att.com/cgi-bin/access.cgi/as/njas/sequences/eisA.cgi?Anum=006970 A006970] inOEIS )
*Euler-Jacobi pseudoprime
** base-2 Euler-Jacobi pseudoprimes (sequence [http://www.research.att.com/cgi-bin/access.cgi/as/njas/sequences/eisA.cgi?Anum=047713 A047713] in OEIS)
** base-3 Euler-Jacobi pseudoprimes (sequence [http://www.research.att.com/cgi-bin/access.cgi/as/njas/sequences/eisA.cgi?Anum=048950 A048950] in OEIS)
*Extra strong Lucas pseudoprime
*Fibonacci pseudoprime
*Lucas pseudoprime
*Perrin pseudoprime
*Somer-Lucas pseudoprime
*Strong Frobenius pseudoprime
*Strong Lucas pseudoprime
*Strong pseudoprime
** base-2 strong pseudoprimes (sequence [http://www.research.att.com/cgi-bin/access.cgi/as/njas/sequences/eisA.cgi?Anum=001262 A001262] in OEIS)External links
* [http://de.wikibooks.org/wiki/Pseudoprimzahlen:_Tabelle_Pseudoprimzahlen_(15_-_4999) Pseudoprimes up to 5,000]
Wikimedia Foundation. 2010.