Question: how to convert this group of permutation into disjcyc

permutation matrix
1 1

0 1
become group of permutation

1 1 2

1 2 2


fgen:= convert([1,2,2], disjcyc);

however, first row is not 1,2,3

how to do?

Please Wait...