Carmichaelgetal
A Carmichael number is a composite number n which satisfies the modular arithmetic congruence relation b^(n-1) = 1 (mod n) for all integers b which are relatively prime to n. In other words, a composite number n is a Carmichael number if it is a Fermat pseudoprime to every base a with gcd(a, n) = 1.
The smallest Carmichael number is 561. The next ones are 1105, 1729, 2465, 2821, 6601, and 8911.
Carmichael numbers are named after the American mathematician Robert Carmichael, who described them in 1910. However,
A composite integer n is a Carmichael number if and only if it is square-free, and for
Carmichael numbers are important in number theory and cryptography because they are composite numbers that behave