Letwith
such that
and
are all prime numbers.
Show that(mod n) whenever hcf (a,n) = 1.
Carmichael Number -- from Wolfram MathWorld
Letbe of the following form:
If each factor is prime, thenfor all
. By Korselt's criteria, this property makes n a Carmichael Number, which by definition, is any composite number that passes Fermat's test.