I'm really confused with permutations overall, I know the "algorithm" yet every time I get a mistake...
Write this permutation in $S_6$ as disjoint cycles and find its order: $(5 1 2)(3 1 2)(4 1 3)$
My try:
$$\begin{pmatrix}
1 & 2 & 3 & 4 & 5 & 6\\
2 & 3 & 4 & 5 & 1 & 6\\
\end{pmatrix}$$
so $(5 1 2)(3 1 2)(4 1 3)=(1 2 3 4 5)$.
Yet the solution in WolframAlpha states: $(1 4)(2 5)$ (order $2$ yet in my case the order is $5$). Am I mistaken?
Is there any good website for checking this sort of calculation (or is WolframAlpha actually correct)?
Thank you in advance.
WolframAlpha evaluates permutations from left to right. Your calculation is correct when evaluating from right to left.