Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 2.3.25 ($\mathrm{Card} \{a \in ]\!]0, mk]\!] \mid \mathrm{gcd}(a,m) = 1\}$)

Exercise 2.3.25 ($\mathrm{Card} \{a \in ]\!]0, mk]\!] \mid \mathrm{gcd}(a,m) = 1\}$)

If m and k are positive integers, prove that the number of positive integers mk that are prime to m is ( m ) .

Answers

Proof. Write I = ] ] 0 , km ] ] , and I j = ] ] jm , ( j + 1 ) m ] ] , and also A = { a I a m = 1 } , A j = { a I j a m = 1 } . Then

I = j = 0 k 1 I j , A = j = 0 k 1 A j (disjoint unions).

Therefore N = | A | = j = 0 k 1 | A k | is the number of positive integers a mk that are prime to m .

By definition,

ϕ ( m ) = Card { a I 0 a m = 1 } = | A 0 | .

We show first that | A j | = | A 0 | for all j .

Let

χ { A 0 A j a a + jm . ξ { A j A 0 b b jm .

If a A 0 , then 0 < a m , thus jm < a + jm ( j + 1 ) m , so χ ( a ) = a + jm I j . Moreover, if a m = 1 , thus ( a + jm ) m = 1 . This shows that χ ( a ) = a + jm A j , so χ is well defined. Similarly, ξ is well defined.

Moreover, for all a in A 0 , ( ξ χ ) ( a ) = ( a + jm ) jm = a , so ξ χ = 1 A 0 , and similarly χ ξ = 1 A j . This proves that ξ is bijective, thus

| A 0 | = | A j | j = 1 , k 1 .

Then

| A | = j = 0 k 1 | A k | = k | A 0 | = ( m ) .

User profile picture
2024-08-15 08:47
Comments