Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.8.26* (Characterization of Carmichael numbers)
Exercise 2.8.26* (Characterization of Carmichael numbers)
(Recall that is a Carmichael number if for all reduced .) Show that is a Carmichael number if and only if is square-free and for all primes dividing . Deduce that is a Carmichael number.
Answers
Proof. Here is a composite number.
If is a Carmichael number, the number of solutions of the congruence is . By Problem 25, , so
where for each prime factor of , , .
Note that
If one of these inequality is a strict inequality, then , in contradiction with (1). Therefore, all these inequalities are equalities: for all prime such that ,
This shows that , thus . Therefore is square-free. Moreover, , thus for all primes dividing .
Conversely, suppose that is square-free, and that for all primes dividing . For all integers such that , a fortiori , then by Fermat’s Theorem, and , thus
Since the are distinct, , so
for every such that , so that is a Carmichael number.
For instance,
, and , thus
Therefore is a Carmichael number. □