Exercise 1836Number theory › PrimesL1Added 3 Nov 2026
GCD via Euler's totient
#gcd#Euler totient#formula
Statement
Show that for all .
Hint
Partition by .
Show solutionHide solution
Solution
Partition. For each divisor , let .
Size. iff with and . So .
Sum. The sets partition , so , i.e. .
Conclusion. The identity holds.
Example. : . ✓