Pseudoprime: Difference between revisions
imported>Jitse Niesen (rewrite intro) |
mNo edit summary |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
== Introduction == | == Introduction == | ||
To find out if a given number is a prime number, one can test it 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 primes and no other numbers. | |||
However, other properties hold for all | However, other properties hold for all primes 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 outlined below. | ||
== Different kinds of pseudoprimes == | == Different kinds of pseudoprimes == | ||
{| border="1" cellspacing="0" | {| border="1" cellspacing="0" | ||
|Property | !align="center"|Property !!kind of pseudoprime | ||
|- | |- | ||
|<math>a^{n-1} \equiv 1 \pmod{n}</math> ||[[Fermat pseudoprime]] | |<math>a^{n-1} \equiv 1 \pmod{n}</math> ||[[Fermat pseudoprime]] | ||
Line 30: | Line 30: | ||
|} | |} | ||
== Table of smallest Pseudoprimes == | |||
[[Category: | {| border="1" cellspacing="0" | ||
!colspan="3" align="center"|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 || | |||
|}[[Category:Suggestion Bot Tag]] |
Latest revision as of 06:01, 8 October 2024
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, one can test it 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 primes and no other numbers.
However, other properties hold for all primes 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 outlined below.
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 |