Hence, 561 is a Carmichael number, because it is composite and b560 ≡ (b80)7 ≡ 1 mod 561 for all b relatively prime to 561.