Suppose that the order of $g$ is $6.$ Determine the orders of $g^2,g^3,g^4$ and $g^5$.
For the first two I have that $(g^2)^3=g^6 = e$ and $(g^3)^2 = g^6 = e$ so the order of $g^2$ is $3$ and the order of $g^3$ is $2$.
For the two latter ones I tried to follow similar reasoning trying to get $g^6$ to appear somehow so that I can get $e$ to the power of something which is just $e$. What I have is that since $\operatorname{lcm}(4,6)=12$ $$(g^4)^{12}=g^{48}=(g^6)^{8} = e$$ and likewise since $\operatorname{lcm}(5,6)=30$ $$(g^5)^{30}=g^{150}=(g^6)^{25}=e$$ is there some kind of deeper connection here with the least common multiple and the order or am I just confusing something.