Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.5.4* ($a^{k \overline{k}} \equiv a \pmod m$ for all integers $a$)

Exercise 2.5.4* ($a^{k \overline{k}} \equiv a \pmod m$ for all integers $a$)

Suppose that m is square-free, and that k and k ¯ are positive integers such that k k ¯ ≡ 1 ( mod ϕ ( m ) ) . Show that a k k ¯ ≡ a ( mod m ) for all integers a .

Answers

(I don’t use the hint.)

Proof. We know that k k ¯ ≡ 1 ( mod ϕ ( m ) ) , so there is some integer λ such that

k k ¯ = 1 + λϕ ( m ) . (1)

Since m is square-free, the decomposition of m in prime factors is

m = p 1 p 2 ⋯ p l ,

where p 1 , p 2 , … , p l are distinct primes. Then

ϕ ( m ) = ( p 1 − 1 ) ( p 2 − 1 ) ⋯ ( p l − 1 ) . (2)
  • Suppose first that p i ∤ a . By Fermat’s theorem,

    a p i − 1 ≡ 1 ( mod p i ) , i = 1 , 2 , … , l .

    By (2), (or Problem 3), ϕ ( p i ) = p i − 1 ∣ ϕ ( m ) , therefore

    a ϕ ( m ) ≡ 1 ( mod p i ) , i = 1 , 2 , … , l .

    This gives, using (1),

    a k k ¯ = a 1 + λϕ ( m ) ≡ a ( mod p i ) .

  • If p i ∣ m , using k k ¯ ≠ 0 , we obtain

    a k k ¯ ≡ 0 ≡ a ( mod p i ) .

In both cases, a k k ¯ ≡ a ( mod p i ) , for all integers a , and for every index i .

Since p 1 , … , p l are distinct (thus relatively prime by pairs),

a k k ¯ ≡ a ( mod p 1 p 2 ⋯ p l ) ,

that is

a k k ¯ ≡ a ( mod m ) ,

for all integers a . □

User profile picture
2024-08-27 09:19
Comments