Pseudoprime: Difference between revisions
imported>Ro Thorpe m (→Introduction) |
imported>Ro Thorpe m (→Introduction) |
||
Line 5: | Line 5: | ||
To find out if a given number is a prime number, it can be tested for properties that all prime numbers share. One property of a prime number is that it is only divisible by one and itself. This is a defining property: it holds for all prime numbers and no other numbers. | To find out if a given number is a prime number, it can be tested for properties that all prime numbers share. One property of a prime number is that it is only divisible by one and itself. This is a defining property: it holds for all prime numbers and no other numbers. | ||
However, other properties hold for all prime numbers and also some other numbers. For instance, every prime number greater than 3 has the form <math>6n - 1\ </math> or <math>6n + 1\ </math> (with ''n'' an integer), but there are also composite numbers of this form: 25, 35, 49, 55, 65, 77, 85, 91, … . So, we can say that 25, 35, 49, 55, 65, 77, 85, 91, … are pseudoprimes with respect to the property of being of the form <math>6n - 1\ </math> or <math>6n + 1\ </math>. There exist better properties, which lead to special pseudoprimes | However, other properties hold for all prime numbers and also some other numbers. For instance, every prime number greater than 3 has the form <math>6n - 1\ </math> or <math>6n + 1\ </math> (with ''n'' an integer), but there are also composite numbers of this form: 25, 35, 49, 55, 65, 77, 85, 91, … . So, we can say that 25, 35, 49, 55, 65, 77, 85, 91, … are pseudoprimes with respect to the property of being of the form <math>6n - 1\ </math> or <math>6n + 1\ </math>. There exist better properties, which lead to special pseudoprimes, as follows. | ||
== Different kinds of pseudoprimes == | == Different kinds of pseudoprimes == |
Revision as of 16:42, 30 January 2009
A pseudoprime is a composite number that has certain properties in common with prime numbers.
Introduction
To find out if a given number is a prime number, it can be tested for properties that all prime numbers share. One property of a prime number is that it is only divisible by one and itself. This is a defining property: it holds for all prime numbers and no other numbers.
However, other properties hold for all prime numbers and also some other numbers. For instance, every prime number greater than 3 has the form or (with n an integer), but there are also composite numbers of this form: 25, 35, 49, 55, 65, 77, 85, 91, … . So, we can say that 25, 35, 49, 55, 65, 77, 85, 91, … are pseudoprimes with respect to the property of being of the form or . There exist better properties, which lead to special pseudoprimes, as follows.
Different kinds of pseudoprimes
Property | kind of pseudoprime |
---|---|
Fermat pseudoprime | |
Euler pseudoprime | |
strong pseudoprime | |
is divisible by | Carmichael number |
is divisible by | Perrin pseudoprime |
is divisible by |
Table of smallest Pseudoprimes
smallest Pseudoprimes | ||
---|---|---|
Number | Kind of Pseudoprime | Bases |
15 | Fermat pseudoprime | 4, 11 |
21 | Euler pseudoprime | 8, 13 |
49 | strong pseudoprime | 18, 19, 30, 31 |
561 | Carmichael number | |
1729 | absolute Euler pseudoprime |