The sum of φ(d) over the divisors of n
Statement
Let be Euler's totient function ( is the number of integers with and ). Prove that for every positive integer ,
Hint
Look at the fractions and write each in lowest terms. What can you say about the denominators?
Show solutionHide solution
Solution
Idea. Count the same set of objects in two ways: all together, and grouped according to the denominator in lowest terms.
Grouping. Take and write in lowest terms, i.e. and . The denominator divides (because gives , and forces ).
Counting a group. Fix a divisor of . A fraction has lowest-terms denominator exactly when it equals with and . Each such gives exactly one , and distinct give distinct fractions. Hence exactly of the fractions have denominator .
Conclusion. Every one of the fractions has exactly one lowest-terms denominator , so
Check. : .
Lesson. Classify the elements of a set by an invariant (here the reduced denominator) and count each class.