Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 2.3.44* (Generalization of Euler's theorem: $a^m \equiv a^{m-\phi(m)} \pmod m$ for all $a$)

Exercise 2.3.44* (Generalization of Euler's theorem: $a^m \equiv a^{m-\phi(m)} \pmod m$ for all $a$)

Prove the following generalization of Euler’s theorem:

a m a m ϕ ( m ) ( mod m )

for any integer a .

Answers

Proof. If m = 1 , any integer is congruent to any other modulo m , so there is noting to prove. We suppose now that m > 1 .

Let m = p 1 a 1 p k a k be the decomposition of m in prime factors, where a i > 0 . We will prove a m a m ϕ ( m ) ( mod p i a i ) for all i .

  • Suppose first that p i a . Then

    m ϕ ( m ) = p 1 a 1 p k a k p 1 a 1 1 p k a k 1 ( p 1 1 ) ( p k 1 ) ,

    that is

    m ϕ ( m ) = p 1 a 1 1 p k a k 1 [ p 1 p k ( p 1 1 ) ( p k 1 ) ] . (1)

    We know that n < 2 n for all n 0 (by induction, or using n = | A | < | 𝒫 ( A ) | = 2 n ).

    Therefore, using (1), 0 a i 1 < 2 a i 1 p 1 a i 1 m ϕ ( m ) . This shows that, for all index i ,

    a i m ϕ ( m ) .

    Therefore

    p i a i p i m ϕ ( m ) a m ϕ ( m ) .

    A fortiori p i a i a m , so

    0 a m a m ϕ ( m ) ( mod p i a i ) .

  • Suppose now that p i a . Then a p i a i = 1 .

    By Euler’s theorem,

    a ϕ ( p i a i ) 1 ( mod p i a i ) .

    Since ϕ ( p i a i ) ϕ ( m ) = j = 1 k ϕ ( p j a j ) , a fortiori

    a ϕ ( m ) 1 ( mod p i a i ) .

    Therefore, using ϕ ( m ) m ,

    a m = a m ϕ ( m ) a ϕ ( m ) a m ϕ ( m ) ( mod p i a i ) .

In both cases

a m a m ϕ ( m ) ( mod p i a i ) , i = 1 , , k .

Since the integers p 1 a 1 , , p k a k are relatively prime by pairs, where m = p 1 a 1 p k a k ,

a m a m ϕ ( m ) ( mod m )

for any integer a . □

User profile picture
2024-08-17 16:14
Comments