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 m is a Carmichael number if a m 1 1 ( mod m ) for all reduced a ( mod m ) .) Show that m is a Carmichael number if and only if m is square-free and ( p 1 ) ( m 1 ) for all primes p dividing m . Deduce that 2821 = 7 13 31 is a Carmichael number.

Answers

Proof. Here m > 1 is a composite number.

If m is a Carmichael number, the number N of solutions of the congruence a m 1 1 ( mod m ) is ϕ ( m ) . By Problem 25, N = p m ( p 1 ) ( m 1 ) , so

ϕ ( m ) = p m p α 1 ( p 1 ) = p m [ ( p 1 ) ( m 1 ) ] , (1)

where for each prime factor p of m , p α m , p α + 1 m .

Note that

( p 1 ) ( m 1 ) p 1 p α 1 ( p 1 ) .

If one of these inequality is a strict inequality, then ϕ ( m ) > p m [ ( p 1 ) ( m 1 ) ] , in contradiction with (1). Therefore, all these inequalities are equalities: for all prime p such that p m ,

( p 1 ) ( m 1 ) = p 1 = p α 1 ( p 1 ) .

This shows that p α 1 = 1 , thus α = 1 . Therefore m is square-free. Moreover, ( p 1 ) ( m 1 ) = p 1 , thus p 1 m 1 for all primes p dividing m .

Conversely, suppose that m = p 1 p l is square-free, and that p 1 m 1 for all primes p dividing m . For all integers a such that a m = 1 , a fortiori a p k = 1 , then a p k 1 1 ( mod p k ) by Fermat’s Theorem, and p k 1 m 1 , thus

a m 1 1 ( mod p k ) , k = 1 , , l .

Since the p k are distinct, a m 1 1 ( mod p 1 p l ) , so

a m 1 1 ( mod m ) ,

for every a such that a m = 1 , so that m is a Carmichael number.

For instance,

13 31 1 ( mod 6 ) , 7 31 = 217 = 18 12 + 1 1 ( mod 12 ) , 7 13 = 91 1 ( mod 30 ) , and 2821 = 7 13 31 , thus

7 1 2821 1 , 13 1 2821 1 , 31 1 2821 1 .

Therefore 2821 = 7 13 31 is a Carmichael number. □

User profile picture
2024-09-17 09:28
Comments