I saw this statement given in a solution that listed the orders of each element of the group of elements of the additive modulo group $\mathbb{Z}/12\mathbb{Z}$ where $G=\{0,1,2,...,11\}$ and the order for each corresponding element is given by $1,12,6,...$. How could I prove this?
Thanks
It's fairly easy to see that in a cyclic group,$\langle g\rangle$, the order of $g^k$ is given by $|g^k|=\dfrac{|g|}{\gcd(|g|,k)}$.
But $\Bbb Z_n=\langle1\rangle$. Thus $x=1^x$ for any $x\in\{0,\dots,n-1\}$.
Substituting, we get $|x|=|1^x|=\dfrac n{\gcd(n,x)}$.
Don't let the multiplicative notation throw you.