When calculating orders of elements in the groups $\mathbb{Z}_n$ this was my thinking:
For $\mathbb{Z}_{15}$, I would do $|3|=5$ because $3$ needs to be multiplied by $5$ to give a multiple of $15$ and so on with the rest of the elements. This worked up to $\mathbb{Z}_{15}$, but when calculating the order of the elements in $\mathbb{Z}_{27}$ it doesn't work. Could someone explain why this is? And maybe an easier way of calculating the order for the elements in $\mathbb{Z}_n$.
The order of the element $(3, 3)$ in the group $\mathbb{Z}_{9} × \mathbb{Z}_{27}$ gives $9$ which implies that both orders are $3$, so my calculation of the order of $3$ in $\mathbb{Z}_{27}$ is wrong ( I thought it was $9$).