Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.5.5* (Find $a_1,a_2$ such that $a_1\not \equiv a_2 \pmod m$, but $a_1^k \equiv a_2^k \pmod m$ for $k>1$)

Exercise 2.5.5* (Find $a_1,a_2$ such that $a_1\not \equiv a_2 \pmod m$, but $a_1^k \equiv a_2^k \pmod m$ for $k>1$)

Suppose that m is a positive integer that is not square-free. Show that that there exist integers a 1 and a 2 such that a 1 ≢ a 2 ( mod m ) , but a 1 k ≡ a 2 k ( mod m ) for all integers k > 1 .

Answers

Proof. Since m is not square-free, there exists a prime p such that p 2 ∣ m , so we can write m in the form

m = p a u , a ≥ 2 , p ∧ u = 1 .

Take a 1 = p . Since p a ∧ u = 1 , the Chinese Remainder Theorem shows that there exists a unique a 2 ∈ [ [ 0 , m [ [ such that

{ a 2 ≡ p + p a − 1 ( mod p a ) , a 2 ≡ p ( mod u ) .

Suppose for contradiction that a 2 ≡ a 1 ( mod p a ) , then 0 ≡ a 2 − a 1 = a 2 − p ≡ p a − 1 ( mod p a ) , thus p a ∣ p a − 1 , so p ∣ 1 : this is impossible. Therefore a 2 ≢ a 1 ( mod p a ) . A fortiori, because p a ∣ m ,

a 2 ≢ a 1 ( mod m ) .

Now we prove that a 1 k ≡ a 2 k ( mod m ) for all integers k > 1 .

Assume k ≥ 2 . Then, reducing modulo p a , where a ≥ 2

a 2 k ≡ p k ( 1 + p a − 2 ) k ≡ p k ( 1 + ( k 1 ) p a − 2 + ⋯ + ( k i ) p i ( a − 2 ) + ⋯ ( k k ) p k ( a − 2 ) ) ≡ p k + ∑ i = 1 k ( k i ) p k + i ( a − 2 ) ( mod p a ) .

Since k ≥ 2 and a ≥ 2 , for all i ≥ 1 ,

k + i ( a − 2 ) ≥ k + a − 2 ≥ a .

Therefore

a 2 k ≡ p k = a 1 k ( mod p a ) .

Moreover, a 2 k ≡ p k = a 1 k ( mod u ) . Since p ∧ u = 1 , a 2 k ≡ p k = a 1 k ( mod p a u ) , that is

a 2 k ≡ a 1 k ( mod m ) ,  if  k > 1 .

There exist integers a 1 and a 2 such that a 1 ≢ a 2 ( mod m ) , but for all integers k > 1 , a 1 k ≡ a 2 k ( mod m ) . □

For instance, if m = 3 4 ⋅ 2 ⋅ 5 = 810 , a 1 = 3 and a 2 is the solution between 0 and 810 of

{ a 2 ≡ 3 + 3 3 = 30 ( mod 81 ) , a 2 ≡ 3 ( mod 10 ) ,

so a 2 = 273 . Then

3 ≢ 273 ( mod 810 ) , 3 2 ≡ 27 3 2 ≡ 9 ( mod 810 ) , 3 3 ≡ 27 3 3 ≡ 27 ( mod 810 ) , …
User profile picture
2024-08-28 09:38
Comments