AllExperts > Encyclopedia 
Search      
Find out about volunteering to AllExperts

Pseudoprime: Encyclopedia BETA


Free Encyclopedia
 Index · Browse A-Z  · Questions and Answers ·
Encyclopedia

Browse A-Z
ABCDEFGHIJKLMNOPQRSTUVWXYZNum


License
Disclaimer

 
 
 
 
Free Online Courses
12 Weeks to Weight Loss
Take Charge of Stress
Learn How to Bake
Budgeting 101
Deeper Faith
DIY Fashion Makeover

       MORE E-COURSES
 
   

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z  Misc

Pseudoprime

A pseudoprime is a probable prime (an integer which shares a property common to all prime numbers) 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 is coprime to p, then ap-1 - 1 is divisible by p. If a number x is not prime, a is coprime to x and x divides ax-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 a Carmichael 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: 2341=2 (mod 341).

The rarity of such pseudoprimes has important practical implications. For example, public-key cryptography algorithms such as RSA 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 a very small chance that the number found is not a prime number but a pseudoprime, it is possible to use the much faster and simpler Fermat primality test.

Another approach is to use more refined notions of pseudoprimality, e.g. strong pseudoprimes or Euler-Jacobi pseudoprimes, for which there are no analogues of Carmichael numbers. This leads to probabilistic algorithms such as the Solovay-Strassen primality test and the Miller-Rabin primality test, which produce what are known as industrial-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 positive, but impossibly 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 . The Poulet numbers and Carmichael numbers (in bold) up to 41041 are:
nnnnn
1341 = 11 · 31112821 = 7 · 13 · 31218481 = 3 · 11 · 2573115709 = 23 · 6834130121 = 7 · 13 · 331
2561 = 3 · 11 · 17123277 = 29 · 112228911 = 7 · 19 · 673215841 = 7 · 31 · 734230889 = 17 · 23 · 79
3645 = 3 · 5 · 43134033 = 37 · 1092310261 = 31 · 3313316705 = 5 · 13 · 2574331417 = 89 · 353
41105 = 5 · 13 · 17144369 = 17 · 2572410585 = 5 · 29 · 733418705 = 3 · 5 · 29 · 434431609 = 73 · 433
51387 = 19 · 73154371 = 3 · 31 · 472511305 = 5 · 7 · 17 · 193518721 = 97 · 1934531621 = 103 · 307
61729 = 7 · 13 · 19164681 = 31 · 1512612801 = 3 · 17 · 2513619951 = 71 · 2814633153 = 3 · 43 · 257
71905 = 3 · 5 · 127175461 = 43 · 1272713741 = 7 · 13 · 1513723001 = 3 · 11 · 17 · 414734945 = 5 · 29 · 241
82047 = 23 · 89186601 = 7 · 23 · 412813747 = 59 · 2333823377 = 97 · 2414835333 = 89 · 397
92465 = 5 · 17 · 29197957 = 73 · 1092913981 = 11 · 31 · 413925761 = 3 · 31 · 2774939865 = 5 · 7 · 17 · 67
102701 = 37 · 73208321 = 53 · 1573014491 = 43 · 3374029341 = 13 · 37 · 615041041 = 7 · 11 · 13 · 41
A Poulet number all of whose divisors d divide 2d - 2 is calledsuper-Poulet number. There are an 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.
asmallest p-pasmallest p-pasmallest p-pasmallest p-p
  5165 = 5 · 13 101 175 = 5² · 7 151 175 = 5² · 7
2341 = 11 · 135285 = 5 · 17102133 = 7 · 19 152 153 = 3² · 17
391 = 7 · 135365 = 5 · 13103133 = 7 · 19153209 = 11 · 19
415 = 3 · 55455 = 5 · 11 104 105 = 3 · 5 · 7154155 = 5 · 31
5 124 = 2² · 31 55 63 = 3² · 7105451 = 11 · 41 155 231 = 3 · 7 · 11
635 = 5 · 75657 = 3 · 19106133 = 7 · 19156217 = 7 · 31
7 25 = 5²5765 = 5 · 13107133 = 7 · 19 157 186 = 2 · 3 · 31
8 9 = 3²58133 = 7 · 19108341 = 11 · 31158159 = 3 · 53
9 28 = 2² · 75987 = 3 · 29 109 117 = 3² · 13159247 = 13 · 19
1033 = 3 · 1160341 = 11 · 31110111 = 3 · 37160161 = 7 · 23
1115 = 3 · 56191 = 7 · 13 111 190 = 2 · 5 · 19 161 190=2 · 5 · 19
1265 = 5 · 13 62 63 = 3² · 7 112 121 = 11²162481 = 13 · 37
1321 = 3 · 763341 = 11 · 31113133 = 7 · 19 163 186 = 2 · 3 · 31
1415 = 3 · 56465 = 5 · 13114115 = 5 · 23 164 165 = 3 · 5 · 11
15341 = 11 · 13 65 112 = 24 · 7115133 = 7 · 19 165 172 = 2² · 43
1651 = 3 · 176691 = 7 · 13 116 117 = 3² · 13166301 = 7 · 43
17 45 = 3² · 56785 = 5 · 17117145 = 5 · 29 167 231 = 3 · 7 · 11
18 25 = 5²6869 = 3 · 23118119 = 7 · 17 168 169 = 13²
19 45 = 3² · 56985 = 5 · 17119177 = 3 · 59 169 231 = 3 · 7 · 11
2021 = 3 · 7 70 169 = 13² 120 121 = 11² 170 171 = 3² · 19
2155 = 5 · 11 71 105 = 3 · 5 · 7121133 = 7 · 19171215 = 5 · 43
2269 = 3 · 237285 = 5 · 17122123 = 3 · 41172247 = 13 · 19
2333 = 3 · 1173111 = 3 · 37123217 = 7 · 31173205 = 5 · 41
24 25 = 5² 74 75 = 3 · 5² 124 125 = 3³ 174 175 = 5² · 7
25 28 = 2² · 77591 = 7 · 13125133 = 7 · 19175319 = 11 · 19
26 27 = 3³7677 = 7 · 11126247 = 13 · 19176177 = 3 · 59
2765 = 5 · 1377247 = 13 · 19 127 153 = 3² · 17 177 196 = 2² · 7²
28 45 = 3² · 578341 = 11 · 31128129 = 3 · 43178247 = 13 · 19
2935 = 5 · 77991 = 7 · 13129217 = 7 · 31179185 = 5 · 37
30 49 = 7² 80 81 = 34130217 = 7 · 31180217 = 7 · 31
31 49 = 7²81 = 3485 = 5 · 17131143 = 11 · 13 181 195 = 3 · 5 · 13
3233 = 3 · 118291 = 7 · 13132133 = 7 · 19182183 = 3 · 61
3385 = 5 · 17 83 105 = 3 · 5 · 7133145 = 5 · 29183221 = 13 · 17
3435 = 5 · 78485 = 5 · 17 134 135 = 3³ · 5184185 = 5 · 37
3551 = 3 · 1785129 = 3 · 43135221 = 13 · 17185217 = 7 · 31
3691 = 7 · 138687 = 3 · 29136265 = 5 · 53186187 = 11 · 17
37 45 = 3² · 58791 = 7 · 13 137 148 = 2² · 37187217 = 7 · 31
3839 = 3 · 138891 = 7 · 13138259 = 7 · 37 188 189 = 3³ · 7
3995 = 5 · 19 89 99 = 3² · 11139161 = 7 · 23189235 = 5 · 47
4091 = 7 · 139091 = 7 · 13140141 = 3 · 47 190 231 = 3 · 7 · 11
41 105 = 3 · 5 · 791115 = 5 · 23141355 = 5 · 71191217 = 7 · 31
42205 = 5 · 419293 = 3 · 31142143 = 11 · 13192217 = 7 · 31
4377 = 7 · 1193301 = 7 · 43143213 = 3 · 71 193 276 = 2² · 3 · 23
44 45 = 3² · 59495 = 5 · 19144145 = 5 · 29 194 195 = 3 · 5 · 13
45 76 = 2² · 1995141 = 3 · 47 145 153 = 3² · 17195259 = 7 · 37
46133 = 7 · 1996133 = 7 · 19 146 147 = 3 · 7²196205 = 5 · 41
4765 = 5 · 13 97 105 = 3 · 5 · 7 147 169 = 13² 197 231 = 3 · 7 · 11
48 49 = 7² 98 99 = 3² · 11 148 231 = 3 · 7 · 11198247 = 13 · 19
49 66 = 2 · 3 · 1199145 = 5 · 29 149 175 = 5² · 7 199 225 = 3² · 5²
5051 = 3 · 17 100 153 = 3² · 17 150 169 = 13²200201 = 3 · 67

See also

*Euler pseudoprime
** base-2 Euler pseudoprimes (sequence A006970 in OEIS)
*Euler-Jacobi pseudoprime
** base-2 Euler-Jacobi pseudoprimes (sequence A047713 in OEIS)
** base-3 Euler-Jacobi pseudoprimes (sequence 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 A001262 in OEIS)

External link

*Pseudoprimes up to 15,999



Email this page
About Us | Advertise on This Site | User Agreement | Privacy Policy | Kids' Privacy Policy | Help
About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.
This is the "GNU Free Documentation License" reference article from the English Wikipedia. All text is available under the terms of the GNU Free Documentation License. See also our Disclaimer.