Everything2
Near Matches
Ignore Exact
Full Text
Everything2

Carmichael number

created by Phssthpok

(thing) by Towler sucks (7.5 y) (print)   ?   (I like it!) Sun Dec 24 2000 at 6:15:26

While Fermat's Little Theorem provides an exellent test for determining the primality of a number, some numbers pass this test when compared to all numbers smaller than and relatively prime to them, but are not prime. These Carmichael numbers are extremely rare. The third one is 1729. Prime-generation can be sped up fantastically by using a pregenerated list of Carmichael numbers.


(thing) by somok (4.8 y) (print)   ?   (I like it!) Wed May 01 2002 at 8:01:02

A Carmichael number is defined as a composite number n with the property that:

an ≡ a (mod n) for every integer a such that 1 ≤ a ≤ n

Thus, it is a composite number that has no witness for compositeness. As such, when testing for primality by applying Fermat's Little Theorem, Carmichael numbers are indistinguishable from prime numbers.

Every Carmichael number is odd and a product of distinct prime numbers.

561, 1105, 1729, 2465, 2821, 6601, 8911 is a complete list of all Carmichael numbers up to 10000.

To check if a certain number is a Carmichael number, simply look at its prime decomposition and check against Korselt's Criterion for Carmichael Numbers.

(Named in honor of R. D. Carmichael, who noted fifteen such numbers in 1910.)


printable version
chaos

Korselt's criterion for Carmichael numbers Fermat's little theorem Witness for compositeness 1729
Primality Nuclear launch codes Congruent Existentialists make bad boyfriends
nth roots of unity prime factorization The Hound of the Baskervilles Primality Testing
relativistic bomb Vatican II Pirate Radio TI-92 Plus
Gescom Jules Verne Numbers Prime decomposition
Andrew Lloyd Webber's Phantom of the Opera RSA
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
The best nodes of all time:
Taj Mahal
Obsessive compulsive disorder
Cat o' nine tails
Long S
Fibonacci base
Michel Foucault
strip Tetris
Kremlin
Deliberately dropping pennies
Star Trek: The Motion Picture
Why matter cannot reach the speed of light
Shogun - Total War
Oedipus-Schmedipus, as long as he loves his mother
New Writeups
Lord Brawl
Dr. Horrible's Sing-Along Blog(review)
a8ksh4
regret(idea)
Heisenberg
Editor Log: July 2008(log)
sam512
halfway homes, catacombs, twilight zones(fiction)
Timeshredder
The Texas UFO Crash of 1897(event)
Heitah
The Dark Knight(review)
ignis_glaciesque
Uppsala(place)
ignis_glaciesque
diffusion of responsibility(idea)
TheOrientalAfrican
The Soft Meadow of my Childhood(event)
BookReader
The Dragon Slayers(fiction)
kohlcass
religiously fashionable(review)
Pavlovna
waulking song(thing)
tentative
Stick Man(poetry)
Ereneta
The Fight with the Snapping Turtle: Or, the American St. George(poetry)
sitaraika
Fog and fire(personal)
Everything 2 is brought to you by the letter C and The Everything Development Company