4.II.7E

Numbers and Sets | Part IA, 2006

State and prove Fermat's Little Theorem.

An odd number nn is called a Carmichael number if it is not prime, but every positive integer aa satisfies an≡a( mod n)a^{n} \equiv a(\bmod n). Show that a Carmichael number cannot be divisible by the square of a prime. Show also that a product of two distinct odd primes cannot be a Carmichael number, and that a product of three distinct odd primes p,q,rp, q, r is a Carmichael number if and only if p−1p-1 divides qr−1,q−1q r-1, q-1 divides pr−1p r-1 and r−1r-1 divides pq−1p q-1. Deduce that 1729 is a Carmichael number.

[You may assume the result that, for any prime pp, there exists a number g prime to pp such that the congruence gd≡1( mod p)g^{d} \equiv 1(\bmod p) holds only when dd is a multiple of p−1p-1. The prime factors of 1729 are 7,13 and 19.]

Typos? Please submit corrections to this page on GitHub.