Exercise 2122Number theory › Divisibility and gcdM1Added 3 Nov 2026
Carmichael numbers (statement)
#Carmichael#primes#Fermat
Statement
Define a Carmichael number. Show that is a Carmichael number.
Hint
. Show for every coprime to , by checking mod and using CRT.
Show solutionHide solution
Solution
Definition. A composite such that for all coprime to . (Fermat's little theorem fails to detect compositeness of Carmichael numbers.)
561 = 3·11·17. For coprime to :
- mod : , so .
- mod : , so .
- mod : , so .
CRT. Since are pairwise coprime and each divides , their product divides . So .
Conclusion. is a Carmichael number.