Carmichael number
In number theory, a Carmichael number is a composite positive integer which satisfies the congruence for all integers which are relatively prime to (see modular arithmetic). They are named for Robert Carmichael. The Carmichael numbers are the Knödel numbers K1.
Overview
Fermat's little theorem states that all prime numbers have that property. In this sense, Carmichael numbers are similar to prime numbers. They are called Fermat pseudoprimes. Carmichael numbers are sometimes also called absolute Fermat pseudoprimes.
Carmichael numbers are important because they can fool the Fermat primality test, thus they are always fermat liars. Since Carmichael numbers exist, this primality test cannot be relied upon to prove the primality of a number, although it can still be used to prove a number is composite.
Still, as numbers become larger, Carmichael numbers become very rare. For example, there are 1,401,644 Carmichael numbers between 1 and 1018 (approximately one in 700 billion numbers.)[1] This makes tests based on Fermat's Little Theorem slightly risky compared to others such as the Solovay-Strassen primality test.
An alternative and equivalent definition of Carmichael numbers is given by Korselt's criterion.
Theorem (Korselt 1899): A positive composite integer is a Carmichael number if and only if is square-free, and for all prime divisors of , it is true that (the notation indicates that divides ).
It follows from this theorem that all Carmichael numbers are odd.
Korselt was the first who observed these properties, but he could not find an example. In 1910 Carmichael found the first and smallest such number, 561, and hence the name.
That 561 is a Carmichael number can be seen with Korselt's criterion. Indeed, is squarefree and , and .
The next few Carmichael numbers are (sequence A002997 in the OEIS):
J. Chernick proved a theorem in 1939 which can be used to construct a subset of Carmichael numbers. The number is a Carmichael number if its three factors are all prime. Whether this formula produces an infinite quantity of Carmichael numbers is an open question.
Paul Erdős heuristically argued there should be infinitely many Carmichael numbers. In 1994 it was shown by W. R. (Red) Alford, Andrew Granville and Carl Pomerance that there really do exist infinitely many Carmichael numbers. Specifically, they showed that for sufficiently large , there are at least Carmichael numbers between 1 and .[2]
Löh and Niebuhr in 1992 found some of these huge Carmichael numbers including one with 1,101,518 factors and over 16 million digits.
Properties
Carmichael numbers have at least three positive prime factors. The first Carmichael numbers with prime factors are (sequence A006931 in the OEIS):
k | |
---|---|
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 |
The first Carmichael numbers with 4 prime factors are (sequence A074379 in the OEIS):
i | |
---|---|
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 |
The second Carmichael number (1105) can be expressed as the sum of two squares in more ways than any smaller number. The third Carmichael number (1729) is the Hardy-Ramanujan Number: the smallest number that can be expressed as the sum of two cubes in two different ways.
Distribution
Let denote the number of Carmichael numbers less than or equal to . Erdős proved in his 1956 paper that
for some constant ;
The table below gives approximate values for this constant:
n | k |
104 | 2,19547 |
106 | 1,97946 |
108 | 1,90495 |
1010 | 1,86870 |
1012 | 1,86377 |
1014 | 1,86293 |
1016 | 1,86406 |
1018 | 1,86522 |
1020 | 1,86598 |
As of December 2007, it has been shown that there are 8220777 Carmichael numbers up to 1020.
In the other direction, Alford, Granville and Pomerance proved in their 1994 paper that
for sufficiently large and Glyn Harman proved that
again for sufficiently large .[3] This author has subsequently improved the exponent to just over . Erdős also gave a heuristic suggesting that his upper bound should be close to the true rate of growth of .
The distribution of Carmichael numbers by powers of 10, from Pinch (2006).
3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | |
1 | 7 | 16 | 43 | 105 | 255 | 646 | 1547 | 3605 | 8241 | 19279 | 44706 | 105212 | 246683 | 585355 | 1401644 | 3381806 | 8220777 |
Higher-order Carmichael numbers
Carmichael numbers can be generalized using concepts of abstract algebra.
The above definition states that a composite integer n is Carmichael precisely when the nth-power-raising function pn from the ring Zn of integers modulo n to itself is the identity function. The identity is the only Zn-algebra endomorphism on Zn so we can restate the definition as asking that pn be an algebra endomorphism of Zn. As above, pn satisfies the same property whenever n is prime.
The nth-power-raising function pn is also defined on any Zn-algebra A. A theorem states that n is prime if and only if all such functions pn are algebra endomorphisms.
In-between these two conditions lies the definition of Carmichael number of order m for any positive integer m as any composite number n such that pn is an endomorphism on every Zn-algebra that can be generated as Zn-module by m elements. Carmichael numbers of order 1 are just the ordinary Carmichael numbers.
Properties
Korselt's criterion can be generalized to higher-order Carmichael numbers, as shown by Howe.[4]
A heuristic argument, given in the same paper, appears to suggest that there are infinitely many Carmichael numbers of order m, for any m. However, not a single Carmichael number of order 3 or above is known.
References
- ^ Richard Pinch, "The Carmichael numbers up to 1018", April 2006 (building on his earlier work [1][2][3]).
- ^ W. R. Alford, A. Granville, and C. Pomerance. "There are Infinitely Many Carmichael Numbers." Annals of Mathematics 139 (1994) 703-722.
- ^ Glyn Harman. "On the number of Carmichael numbers up to X." Bull. Lond. Math. Soc. 37 (2005) 641-650.
- ^ Everett W. Howe. "Higher-order Carmichael numbers." Mathematics of Computation 69 (2000), pp. 1711–1719.
- Chernick, J. (1935). On Fermat's simple theorem. Bull. Amer. Math. Soc. 45, 269–274.
- Ribenboim, Paolo (1996). The New Book of Prime Number Records.
- Löh, Günter and Niebuhr, Wolfgang (1996). A new algorithm for constructing large Carmichael numbers(pdf)
- Korselt (1899). Problème chinois. L'intermédiaire des mathématiciens, 6, 142–143.
- Carmichael, R. D. (1912) On composite numbers P which satisfy the Fermat congruence . Am. Math. Month. 19 22–27.
- Erdős, Paul (1956). On pseudoprimes and Carmichael numbers, Publ. Math. Debrecen 4, 201 –206.
External links
- Table of Carmichael numbers
- Mathpages: The Dullness of 1729
- Weisstein, Eric W. "Carmichael Number". MathWorld.
- Final Answers Modular Arithmetic
- Richard G.E. Pinch. The Carmichael numbers up to 10 to the 20. (list of publications)