If $G=\left<a\right>$ is cyclic of order $n$, then $a^k$ is also a generator iff $(k,n)=1$. Conclude that the number of generators of $G$ is $\phi(n)$.
I think it's easy but I'm just stuck in both directions in the first part. I've tried to use Bezout's Lemma and the division algorithm but getting nowhere.
Can someone give some hint? Thanks in advance