GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

strong pseudoprime

A strong pseudoprime is a composite number that passes the Miller–Rabin primality test. All prime numbers pass this test, but a small fraction of composites also pass, making them "pseudoprimes". Unlike the Fermat pseudoprimes, for which there exist numbers that are pseudoprimes to all coprime bases (the Carmichael numbers), there are no composites that are strong pseudoprimes to all bases. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

A strong pseudoprime is a composite number that passes the Miller–Rabin primality test. All prime numbers pass this test, but a small fraction of composites also pass, making them "pseudoprimes". Unlike the Fermat pseudoprimes, for which there exist numbers that are pseudoprimes to all coprime bases (the Carmichael numbers), there are no composites that are strong pseudoprimes to all bases. In cases like this, where a number is a Fermat pseudoprime but not a strong pseudoprime, this even gives us a factorization: 31697 = gcd(28419+1, 31697) × gcd(28419−1, 31697) = 29 × 1093. For another example, pick n = 47197 and calculate in the same manner: 3^{47196} \equiv 1 \pmod {47197} 3^{23598} \equiv 1 \pmod {47197} 3^{11799} \equiv 1 \pmod {47197} In this case, the result continues to be +1 (mod 47197) until we reach an odd exponent. In this situation, we say that 47197 a strong probable prime to base 3. Because it turns out this PRP is in fact composite (can be seen by picking other bases than 3), we have that 47197 is a strong pseudoprime to base 3. Finally, consider n = 74593 where we get: 3^{74592} \equiv 1 \pmod {74593} 3^{37296} \equiv 1 \pmod {74593} 3^{18648} \equiv 74592 \equiv -1 \pmod {74593} Here, we reach minus −1 modulo 74593, a situation that is perfectly possible with a prime. When this occurs, we stop the calculation (even though the exponent is not odd yet) and say that 74593 a strong probable prime (and, as it turns out, a strong pseudoprime) to base 3. An odd composite number n = d · 2 s + 1 where d is odd is called a strong (Fermat) pseudoprime to base a if: a^d\equiv 1\pmod n or a^{d\cdot 2^r}\equiv -1\pmod n\quad\mbox{ for some }0 \leq r (If a number n satisfies one of the above conditions and we don't yet know whether it is prime, it is more precise to refer to it as a strong probable prime to base a. But if we know that n is not prime, then we may use the term strong pseudoprime.) The definition is trivially met if so these trivial bases are often excluded. Guy mistakenly gives a definition with only the first condition, which is not satisfied by all primes.

References

  1. strong pseudoprime. https://en.wikipedia.org/w/index.php?oldid=1377413081 · 1795438144.7002156
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"strong pseudoprime". 1790658853. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1377413081

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·