Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.3.40 (Sum of positive integers less than $n$ and prime to $n$)
Exercise 2.3.40 (Sum of positive integers less than $n$ and prime to $n$)
Prove that for the sum of all positive integers less than and prime to is .
Answers
Proof. We use the symmetry in the set of such that .
Consider the set
Then the sum of all positive integers less than and prime to is
Consider now the two subsets of
Since , if is even , and if is odd, is not an integer. In both cases . Therefore
This shows that
Consider the maps
is well defined, because , and , so . Similarly is well defined.
Moreover, for all , , so , and similarly . This shows that is bijective.
A first consequence is that , thus , so . Since , this shows anew that is even for , and
Another consequence is
Then (1) becomes
So
□