Carmichael number explained

In number theory, a Carmichael number is a composite number which in modular arithmetic satisfies the congruence relation:

bn\equivb\pmod{n}

for all integers .[1] The relation may also be expressed[2] in the form:

bn-1\equiv1\pmod{n}

for all integers

b

that are relatively prime to . They are infinite in number.[3]

They constitute the comparatively rare instances where the strict converse of Fermat's Little Theorem does not hold. This fact precludes the use of that theorem as an absolute test of primality.[4]

The Carmichael numbers form the subset K1 of the Knödel numbers.

The Carmichael numbers were named after the American mathematician Robert Carmichael by Nicolaas Beeger, in 1950. Øystein Ore had referred to them in 1948 as numbers with the "Fermat property", or "F numbers" for short.[5]

Overview

Fermat's little theorem states that if

p

is a prime number, then for any integer, the number

bp-b

is an integer multiple of . Carmichael numbers are composite numbers which have the same property. Carmichael numbers are also called Fermat pseudoprimes or absolute Fermat pseudoprimes. A Carmichael number will pass a Fermat primality test to every base

b

relatively prime to the number, even though it is not actually prime.This makes tests based on Fermat's Little Theorem less effective than strong probable prime tests such as the Baillie–PSW primality test and the Miller–Rabin primality test.

However, no Carmichael number is either an Euler–Jacobi pseudoprime or a strong pseudoprime to every base relatively prime to it[6] so, in theory, either an Euler or a strong probable prime test could prove that a Carmichael number is, in fact, composite.

Arnault[7] gives a 397-digit Carmichael number

N

that is a strong pseudoprime to all prime bases less than 307:

N=p(313(p-1)+1)(353(p-1)+1)

where

p=

29674495668685510550154174642905332730771991799853043350995075531276838753171770199594238596428121188033664754218345562493168782883
is a 131-digit prime.

p

is the smallest prime factor of, so this Carmichael number is also a (not necessarily strong) pseudoprime to all bases less than .

As numbers become larger, Carmichael numbers become increasingly rare. For example, there are 20,138,200 Carmichael numbers between 1 and 1021 (approximately one in 50 trillion (5·1013) numbers).[8]

Korselt's criterion

An alternative and equivalent definition of Carmichael numbers is given by Korselt's criterion.

Theorem (A. Korselt 1899): A positive composite integer

n

is a Carmichael number if and only if

n

is square-free, and for all prime divisors

p

of, it is true that .

It follows from this theorem that all Carmichael numbers are odd, since any even composite number that is square-free (and hence has only one prime factor of two) will have at least one odd prime factor, and thus

p-1\midn-1

results in an even dividing an odd, a contradiction. (The oddness of Carmichael numbers also follows from the fact that

-1

is a Fermat witness for any even composite number.)From the criterion it also follows that Carmichael numbers are cyclic.[9] [10] Additionally, it follows that there are no Carmichael numbers with exactly two prime divisors.

Discovery

The first seven Carmichael numbers, from 561 to 8911, were all found by the Czech mathematician Václav Šimerka in 1885[11] (thus preceding not just Carmichael but also Korselt, although Šimerka did not find anything like Korselt's criterion).[12] His work, published in Czech scientific journal Časopis pro pěstování matematiky a fysiky, however, remained unnoticed.

Korselt was the first who observed the basic properties of Carmichael numbers, but he did not give any examples.

That 561 is a Carmichael number can be seen with Korselt's criterion. Indeed,

561=31117

is square-free and,

10\mid560

and .The next six Carmichael numbers are :

1105=51317    (4\mid1104;12\mid1104;16\mid1104)

1729=71319    (6\mid1728;12\mid1728;18\mid1728)

2465=51729    (4\mid2464;16\mid2464;28\mid2464)

2821=71331    (6\mid2820;12\mid2820;30\mid2820)

6601=72341    (6\mid6600;22\mid6600;40\mid6600)

8911=71967    (6\mid8910;18\mid8910;66\mid8910).

In 1910, Carmichael himself[13] also published the smallest such number, 561, and the numbers were later named after him.

Jack Chernick[14] proved a theorem in 1939 which can be used to construct a subset of Carmichael numbers. The number

(6k+1)(12k+1)(18k+1)

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 (though it is implied by Dickson's conjecture).

Paul Erdős heuristically argued there should be infinitely many Carmichael numbers. In 1994 W. R. (Red) Alford, Andrew Granville and Carl Pomerance used a bound on Olson's constant to show that there really do exist infinitely many Carmichael numbers. Specifically, they showed that for sufficiently large

n

, there are at least

n2/7

Carmichael numbers between 1 and .

Thomas Wright proved that if

a

and

m

are relatively prime,then there are infinitely many Carmichael numbers in the arithmetic progression,where .[15]

Löh and Niebuhr in 1992 found some very large Carmichael numbers, including one with 1,101,518 factors and over 16 million digits.This has been improved to 10,333,229,505 prime factors and 295,486,761,787 digits,[16] so the largest known Carmichael number is much greater than the largest known prime.

Properties

Factorizations

Carmichael numbers have at least three positive prime factors. The first Carmichael numbers with

k=3,4,5,\ldots

prime factors are :
k  
3

561=31117

4

41041=7111341

5

825265=57171973

6

321197185=519232937137

7

5394826801=7131723316773

8

232250619601=7111317313773163

9

9746347772161=711131719313741641

The first Carmichael numbers with 4 prime factors are :

i  
1

41041=7111341

2

62745=354789

3

63973=7131937

4

75361=11131731

5

101101=71113101

6

126217=7131973

7

172081=7133161

8

188461=71319109

9

278545=51729113

10

340561=13172367

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 (of positive numbers) in two different ways.

Distribution

Let

C(X)

denote the number of Carmichael numbers less than or equal to . The distribution of Carmichael numbers by powers of 10 :[8]

n

123456789101112131415161718192021

C(10n)

00171643105255646154736058241192794470610521224668358535514016443381806822077720138200
In 1953, Knödel proved the upper bound:

C(X)<X\exp\left({-k1\left(logXloglog

1
2
X\right)
}\right)for some constant .

In 1956, Erdős improved the bound to

C(X)<X\exp\left(

-k2logXlogloglogX
loglogX

\right)

for some constant .[17] He further gave a heuristic argument suggesting that this upper bound should be close to the true growth rate of .

In the other direction, Alford, Granville and Pomerance proved in 1994 that for sufficiently large X,

C(X)>

2
7
X

.

In 2005, this bound was further improved by Harman[18] to

C(X)>X0.332

who subsequently improved the exponent to .[19]

Regarding the asymptotic distribution of Carmichael numbers, there have been several conjectures. In 1956, Erdős[17] conjectured that there were

X1-o(1)

Carmichael numbers for X sufficiently large. In 1981, Pomerance[20] sharpened Erdős' heuristic arguments to conjecture that there are at least

XL(X)-1

Carmichael numbers up to, where .

However, inside current computational ranges (such as the counts of Carmichael numbers performed by Pinch[8] up to 1021), these conjectures are not yet borne out by the data.

In 2021, Daniel Larsen proved an analogue of Bertrand's postulate for Carmichael numbers first conjectured by Alford, Granville, and Pomerance in 1994.[21] Using techniques developed by Yitang Zhang and James Maynard to establish results concerning small gaps between primes, his work yielded the much stronger statement that, for any

\delta>0

and sufficiently large

x

in terms of

\delta

, there will always be at least
\exp{\left(log{x
}\right)} Carmichael numbers between

x

and
x+x
(log{x
1
2+\delta
)
}.

Generalizations

akp

in, we have

\alpha{\rm(akp)}\equiv\alpha\bmod{akp}

for all

\alpha

in, where

{\rmN}(akp)

is the norm of the ideal . (This generalizes Fermat's little theorem, that

mp\equivm\bmodp

for all integers when is prime.) Call a nonzero ideal

aka

in

{lO}K

Carmichael if it is not a prime ideal and

\alpha{\rm(aka)}\equiv\alpha\bmod{aka}

for all, where

{\rmN}(aka)

is the norm of the ideal . When is, the ideal

aka

is principal, and if we let be its positive generator then the ideal

aka=(a)

is Carmichael exactly when is a Carmichael number in the usual sense.

When is larger than the rationals it is easy to write down Carmichael ideals in : for any prime number that splits completely in, the principal ideal

p{lO}K

is a Carmichael ideal. Since infinitely many prime numbers split completely in any number field, there are infinitely many Carmichael ideals in . For example, if is any prime number that is 1 mod 4, the ideal in the Gaussian integers

Z[i]

is a Carmichael ideal.

Both prime and Carmichael numbers satisfy the following equality:

\gcd

n-1
\left(\sum
x=1

xn-1,n\right)=1.

Lucas–Carmichael number

See main article: Lucas–Carmichael number.

A positive composite integer

n

is a Lucas–Carmichael number if and only if

n

is square-free, and for all prime divisors

p

of, it is true that . The first Lucas–Carmichael numbers are:

399, 935, 2015, 2915, 4991, 5719, 7055, 8855, 12719, 18095, 20705, 20999, 22847, 29315, 31535, 46079, 51359, 60059, 63503, 67199, 73535, 76751, 80189, 81719, 88559, 90287, ...

Quasi–Carmichael number

Quasi–Carmichael numbers are squarefree composite numbers with the property that for every prime factor of, divides positively with being any integer besides 0. If, these are Carmichael numbers, and if, these are Lucas–Carmichael numbers. The first Quasi–Carmichael numbers are:

35, 77, 143, 165, 187, 209, 221, 231, 247, 273, 299, 323, 357, 391, 399, 437, 493, 527, 561, 589, 598, 713, 715, 899, 935, 943, 989, 1015, 1073, 1105, 1147, 1189, 1247, 1271, 1295, 1333, 1517, 1537, 1547, 1591, 1595, 1705, 1729, ...

Knödel number

See main article: Knödel number.

An n-Knödel number for a given positive integer n is a composite number m with the property that each coprime to m satisfies . The case are Carmichael numbers.

Higher-order Carmichael numbers

Carmichael numbers can be generalized using concepts of abstract algebra.

The above definition states that a composite integer n is Carmichaelprecisely 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.

An order-2 Carmichael number

According to Howe, 17 · 31 · 41 · 43 · 89 · 97 · 167 · 331 is an order 2 Carmichael number. This product is equal to 443,372,888,629,441.[22]

Properties

Korselt's criterion can be generalized to higher-order Carmichael numbers, as shown by Howe.

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

External links

Notes and References

  1. Book: Riesel, Hans . Prime Numbers and Computer Methods for Factorization . Birkhäuser . Boston, MA . second . 1994 . 978-0-8176-3743-9 . 0821.11001 . Progress in Mathematics . 126 . Hans Riesel .
  2. Book: Crandall. Richard . Pomerance . Carl . 2005 . Prime Numbers: A Computational Perspective . second . New York . Springer . 133–134 . 978-0387-25282-7 . Richard Crandall . Carl Pomerance .
  3. W. R. Alford . Andrew Granville . Carl Pomerance . Carl Pomerance . There are Infinitely Many Carmichael Numbers . . 140 . 1994 . 3 . 703–722 . 10.2307/2118576 . https://web.archive.org/web/20050304203448/http://math.dartmouth.edu/~carlp/PDF/paper95.pdf . 2005-03-04 . live. 2118576 . Andrew Granville . W. R. (Red) Alford .
  4. Web site: Cepelewicz . Jordana . 13 October 2022 . Teenager Solves Stubborn Riddle About Prime Number Look-Alikes . Quanta Magazine . 13 October 2022.
  5. Book: Ore, Øystein . Øystein Ore . Number Theory and Its History . 1948 . McGraw-Hill . New York . 331–332 . registration . Internet Archive.
  6. D. H. Lehmer . Derrick Henry Lehmer . Strong Carmichael numbers . J. Austral. Math. Soc. . 1976 . 21 . 4 . 508–510 . 10.1017/s1446788700019364. free . Lehmer proved that no Carmichael number is an Euler-Jacobi pseudoprime to every base relatively prime to it. He used the term strong pseudoprime, but the terminology has changed since then. Strong pseudoprimes are a subset of Euler-Jacobi pseudoprimes. Therefore, no Carmichael number is a strong pseudoprime to every base relatively prime to it.
  7. Constructing Carmichael Numbers Which Are Strong Pseudoprimes to Several Bases. Journal of Symbolic Computation. August 1995. 20. 2. 151–161. F. Arnault. 10.1006/jsco.1995.1042. free.
  8. The Carmichael numbers up to 1021 . Pinch . Richard . December 2007 . Anne-Maria Ernvall-Hytönen . 46 . Turku Centre for Computer Science . 129–131 . Turku, Finland . Proceedings of Conference on Algorithmic Number Theory . 2017-06-26.
  9. http://www.numericana.com/data/crump.htm Carmichael Multiples of Odd Cyclic Numbers
  10. Proof sketch: If

    n

    is square-free but not cyclic,

    pi\midpj-1

    for two prime factors

    pi

    and

    pj

    of

    n

    . But if

    n

    satisfies Korselt then, so by transitivity of the "divides" relation . But

    pi

    is also a factor of, a contradiction.
  11. Šimerka. Václav. Václav Šimerka. Zbytky z arithmetické posloupnosti. On the remainders of an arithmetic progression. Časopis pro pěstování mathematiky a fysiky . 14 . 5. 1885 . 221–225 . 10.21136/CPMF.1885.122245 . free .
  12. Lemmermeyer . F. . Václav Šimerka: quadratic forms and factorization . LMS Journal of Computation and Mathematics . 2013 . 16 . 118–129 . 10.1112/S1461157013000065 . free.
  13. R. D. Carmichael. Note on a new number theory function . Bulletin of the American Mathematical Society . 16 . 5. 1910 . 232–238 . 10.1090/s0002-9904-1910-01892-9. free .
  14. Chernick, J. . On Fermat's simple theorem . Bull. Amer. Math. Soc. . 45 . 4 . 1939 . 269–274 . 10.1090/S0002-9904-1939-06953-X . free .
  15. Thomas Wright . Infinitely many Carmichael Numbers in Arithmetic Progressions . . 45 . 2013 . 5 . 943–952 . 1212.5850 . 10.1112/blms/bdt013. 119126065 .
  16. W.R. Alford. Jon Grantham. Steven Hayman. Andrew Shallue . 1. Constructing Carmichael numbers through improved subset-product algorithms. Math. Comp.. 83. 2014. 286. 899–915. 1203.6664. 10.1090/S0025-5718-2013-02737-8. 35535110. W. R. (Red) Alford.
  17. Erdős, P. . 2022 . On pseudoprimes and Carmichael numbers . Publ. Math. Debrecen . 4 . 3–4 . 201–206 . 10.5486/PMD.1956.4.3-4.16 . https://web.archive.org/web/20110611160632/http://www.renyi.hu/~p_erdos/1956-10.pdf . 2011-06-11 . live . 79031 . 253789521 . Paul Erdős .
  18. Glyn Harman . On the number of Carmichael numbers up to x . Bulletin of the London Mathematical Society . 37 . 5 . 2005 . 641–650 . 10.1112/S0024609305004686. 124405969 .
  19. Harman . Glyn . 2008 . Watt's mean value theorem and Carmichael numbers . 10.1142/S1793042108001316 . 2404800 . International Journal of Number Theory . 4 . 2 . 241–248.
  20. Pomerance, C. . 1981 . On the distribution of pseudoprimes . Math. Comp. . 37 . 156 . 587–593. 2007448 . 10.1090/s0025-5718-1981-0628717-0. Carl Pomerance . free .
  21. Larsen, Daniel . 20 July 2022 . Bertrand's Postulate for Carmichael Numbers . International Mathematics Research Notices . 2023 . 15 . 13072–13098 . 2111.06963 . 10.1093/imrn/rnac203.
  22. Everett W. Howe . Higher-order Carmichael numbers . Mathematics of Computation . October 2000 . 69 . 232 . 1711–1719 . math.NT/9812089 . 2585091 . 10.1090/s0025-5718-00-01225-4. 2000MaCom..69.1711H . 6102830 .