Let $C_n = \{1, x, \dots, x^{n-1}\}$ and define $\varphi_r : C_n \to C_n$ as $\varphi_r(x^s) = x^{rs}$.
Theorem: $\varphi_r$ is bijective $\iff$ $\gcd(r,n)=1$.
This is the proof given in a set of notes I'm using:
$\varphi_r$ is bijective $\iff \varphi_r$ is surjective $\iff$ $\{\varphi(x)^t : 0 \leq t < n\} = C_n \iff \mathrm{ord}( \varphi_r(x)) = n \iff \frac{n}{\gcd(r,n)} = n \iff \gcd(r,n)=1$
I'm confused by the step $\{\varphi(x)^t : 0 \leq t < n\} = C_n \iff \mathrm{ord}( \varphi_r(x)) = n$. What is the justification for this?
It is because the image of $\phi$ is generated by $\phi_r(x)$. So $\phi_r$ is surjective is equivalent to the fact that $x,\phi_r(x),...,\phi_r(x)^{n-1}$ are distinct.