Gapplet
Given a permutation in S
n
compute the number of elements conjugate to it.
Input the number
n
,
e.g., 5
Input a permutation
g
in S
n
,
e.g., [5,4,3,2,1] or (1,2,3)(4,5) or (1,2,3) if
n
= 5
The number of conjugates of
g
in S
n