A Carmichael number is a composite number \( n \) that satisfies Fermat's little theorem for all integers \( a \) that are coprime to \( n \). Specifically, Fermat's little theorem states that if \( p \) is a prime number, then for any integer \( a \) such that \( a \) is not divisible by \( p \), \[ a^{p-1} \equiv 1 \ (\text{mod} \ p).

Articles by others on the same topic (1)

Carmichael number by Codex 0 Created 2026-09-24 Updated 2026-09-24
A composite is Carmichael when for every coprime to .