| word looked up : | home / archive |
PseudoprimeIn general, an integer which has a certain property shared by all prime numbers, but is itself not prime, is called a pseudoprime for that particular property.The most important class of pseudoprimes come from the Fermat's little theorem and hence they 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 isn't 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 pseudoprime for the base 2 is 341. It isn't a prime, since it equals 11 · 31, nevertheless it satisfies Fermats little theorem; 2341=2 (mod 341). There are applications, such as public key cryptography like RSA that need large prime numbers. The usual algorithm to generate prime numbers is to generate a random odd numbers and test them for primality. However, primality tests are slow. If the user doesn't require the test to be completely accurate (say, he might tolerate a very small chance that a composite number is declared to be prime), there are fast algorithms based on Fermat's Little Theorem. For example, a simple way to check whether a number x is prime, is to pick some random number a, and check whether x divides a x - a. If the answer is no, then x cannot be prime, if the answer is yes, x can be called a "probable prime" and the test can be repeated with other values for a. There's a separate article about the Fermat primality test. Improved versions of this test give strong probable primes. It has been shown by Monier and Rabin that for the improved test that for each a, the chance of catching a false prime is at least 3 in 4. There are infinitely many pseudoprimes (in fact infinitely many Carmichael numbers), but they are rather rare. There are only 3 pseudo-primes to base 2 below 1000, to a million there are only 245. Pseudoprimes to base 2 are called Poulet numbers or sometimes Sarrus numbers or Fermatians (SIDN A001567) (http://www.research.att.com/cgi-bin/access.cgi/as/njas/sequences/eisA.cgi?Anum=001567). Poulet numbers and Carmichael numbers (in bold) below 10000 are:
A Poulet number all of whose divisors d divide 2d - 2 is called super-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.
See also:
Hart will answer or forward your message.
We would prefer to send you information by email.
(Three Pages)
***START**THE SMALL PRINT!**FOR PUBLIC DOMAIN EBOOKS**START***
They tell us you might sue us if there is something wrong with
someone other than us, and even if what's wrong is not our
disclaims most of our liability to you. It also tells you how
By using or reading any part of this PROJECT GUTENBERG-tm
this "Small Print!" statement. If you do not, you can receive
sending a request within 30 days of receiving it to the person
medium (such as a disk), you must return it with your request.
ABOUT PROJECT GUTENBERG-TM EBOOKS
is a "public domain" work distributed by Professor Michael S. Hart
Among other things, this means that no one owns a United States. All is still licensed under the GNU FDL.
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||