Given two permutations , I'm asked to answer is they are conjugate permutations .
The two permutations are : $ \alpha=(12)(345)(78)$, $\beta=(162)(35)(89)$.
Definition: Two permutations $ \sigma,\sigma'\in S_n$ are conjugate if exists $\tau \in S_n $ such that: $\sigma'=\tau\sigma\tau^{-1} = (\tau(a_0),\tau(a_1)\ldots \tau(a_k)) $, where $ \sigma=(a_0,a_1,\ldots a_k)$ .
It took me a long time to find the correct $\tau$ that would compute the exact $\beta$ , which is: $$\tau=(13)(25)(46)(789)$$
So if we want to produce are $\beta$ we can do the following : $$(\tau(1),\tau(2))(\tau(3)\tau(4)\tau(5))(\tau(7)\tau(8))=(35)(162)(89)$$ and indeed , they ($α$ and $β$) are conjugate.
My question, after this "long" post, is rather simple: is there a simple way to compute the $\tau$ ?
Regards
Write the two permutations in full cycle notation, writing cycles from longest to shortest (cycles of the same length can be ordered arbitrarily, the starting number of cycle can be chosen arbitrarily from within the cycle).
In your example: $$\begin{align*} \alpha &= (3,4,5)(1,2)(7,8)(6)(9) \\ \beta &= (1,6,2)(3,5)(8,9)(4)(7) \end{align*} \text{ so } \tau = \begin{bmatrix} 3 & 4 & 5 & 1 & 2 & 7 & 8 & 6 & 9 \\ 1 & 6 & 2 & 3 & 5 & 8 & 9 & 4 & 7\end{bmatrix}$$
In other words, $\tau(3)=1, \tau(4)=6$, etc. You can convert $\tau$ to cycle notation in the obvious way by "tracing", $\tau=(3,1)(4,6)(5,2)(7,8,9) = (1,3)(2,5)(4,6)(7,8,9)$.
Another $\tau$ is found by:
$$\begin{align*} \alpha &= (3,4,5)(7,8)(2,1)(9)(6) \\ \beta &= (1,6,2)(5,3)(8,9)(4)(7) \end{align*} \text{ so } \tau = \begin{bmatrix} 3 & 4 & 5 & 7 & 8 & 2 & 1 & 9 & 6 \\ 1 & 6 & 2 & 5 & 3 & 8 & 9 & 4 & 7\end{bmatrix}$$
and $\tau= (3,1,9,4,6,7,5,2,8)$.
Since you can reorder the cycles of the same length, and since you can "cycle" a cycle as much as you want, you actually get many different $\tau$, in fact an entire coset of a centralizer. One way to calculate the centralizer of $\alpha$ is to apply this procedure when $\alpha = \beta$.