Let $\sigma=(257)(423)(57)(3416)\in S_8$ find $\sigma^3$ and $\sigma^{-1}$
So it is easier to calculate a product of disjoint cycles so we will first write the permutation as a product of disjoint cycle as any permeation can be written in this form
$$(3416)=\begin{pmatrix} 3 & 4 & 1 & 6\\ 4 & 1 & 6 & 3 \end{pmatrix} $$
$$(57)(3416)=\begin{pmatrix} 3 & 4 & 1 & 6 & 5 & 7 & 8\\ 4 & 1 & 6 & 3 & 7 & 5 & 8 \end{pmatrix}$$
$$(423)(57)(3416)=\begin{pmatrix} 3 & 4 & 1 & 6 & 5 & 7 & 2 & 8\\ 4 & 1 & 6 & 3 & 7 & 5 & 3& 8\\ 2 & \# & \# & 4 & \# & \# & \# & \# \end{pmatrix}$$
$$(257)(423)(57)(3416)=\begin{pmatrix} 3 & 4 & 1 & 6 & 5 & 7 & 2 & 8\\ 4 & 1 & 6 & 3 & 7 & 5 & 3& 8\\ 2 & \# & \# & 4 & \# & \# & \#& \#\\ 5 & \# & \# & \# & 2 & 7 & \# & \# \end{pmatrix}$$
So overall $$(257)(423)(57)(3416)=\begin{pmatrix} 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8\\ 6 & 3 & 5 & 1 & 2 & 4 & 7 & 8\\ \end{pmatrix}=(164)(235)$$
Now it is easier to find the inverse:
$$\begin{pmatrix} 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8\\ 4 & 5 & 2 & 6 & 3 & 1 & 7 & 8\\ \end{pmatrix}$$
Which is: $$(146)(253)$$
Is there an easy way to find $\sigma^{3}$?