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 and are positive integers, prove that the number of positive integers that are prime to is .
Answers
Proof. Write , and , and also , . Then
Therefore is the number of positive integers that are prime to .
By definition,
We show first that for all .
Let
If , then , thus , so . Moreover, if , thus . This shows that , so is well defined. Similarly, is well defined.
Moreover, for all in , , so , and similarly . This proves that is bijective, thus
Then
□