Prove that the order of an element in $S_n$ equals the least common multiple of the lengths of the cycles in its cycle decomposition.
Proof: Let $\sigma \in S_n$. Then $\sigma = (a_1a_2...a_{m_1})(a_{m_1+1}a_{m_1+2}...a_{m_2})....(a_{m_{k-1}+1}a_{m_{k-1}+2}...a_{m_{k}})$ represents the cycle decomposition of $\sigma$. Suppose $|\sigma| = n$ is the order of an element in $S_n$. So $\sigma^n = 1$.
Can someone please help me? I don't know how if I am doing this fine. And I am stuck.
Thank you for any help.