I want to solve $\sum_{d|n} \varphi(d)=n$ using Group theory.
Here, $\varphi(d)$ is Euler's totient function.
I think I should use $\Bbb Z_n$ and fundamental theorem of cyclic group.
Then I use $\varphi(d)$ as the number of generators of $\Bbb Z_d$
But I can't link this idea with the sum of all $ d|n $
Help me!
Hint: use the fact that, if $n=\prod p_i^{\alpha_i}, \mathbb {Z_n}\simeq \prod \mathbb {Z_{p_i^{\alpha_i}}}$.