Paper 3, Section I, I

Number Theory
Part II, 2013

State the Chinese Remainder Theorem.

A composite number nn is defined to be a Carmichael number if bn11modnb^{n-1} \equiv 1 \bmod n whenever (b,n)=1(b, n)=1. Show that a composite nn is Carmichael if and only if nn is square-free and (p1)(p-1) divides (n1)(n-1) for all prime factors pp of nn. [You may assume that, for pp an odd prime and α1\alpha \geqslant 1 an integer, (Z/pαZ)×\left(\mathbb{Z} / p^{\alpha} \mathbb{Z}\right)^{\times}is a cyclic group.]

Show that if n=(6t+1)(12t+1)(18t+1)n=(6 t+1)(12 t+1)(18 t+1) with all three factors prime, then nn is Carmichael.