Identifier
Identifier
Mp00068: Permutations Simion-Schmidt mapPermutations
Images
[1] => [1]
[1,2] => [1,2]
[2,1] => [2,1]
[1,2,3] => [1,3,2]
[1,3,2] => [1,3,2]
[2,1,3] => [2,1,3]
[2,3,1] => [2,3,1]
[3,1,2] => [3,1,2]
[3,2,1] => [3,2,1]
[1,2,3,4] => [1,4,3,2]
[1,2,4,3] => [1,4,3,2]
[1,3,2,4] => [1,4,3,2]
[1,3,4,2] => [1,4,3,2]
[1,4,2,3] => [1,4,3,2]
[1,4,3,2] => [1,4,3,2]
[2,1,3,4] => [2,1,4,3]
[2,1,4,3] => [2,1,4,3]
[2,3,1,4] => [2,4,1,3]
[2,3,4,1] => [2,4,3,1]
[2,4,1,3] => [2,4,1,3]
[2,4,3,1] => [2,4,3,1]
[3,1,2,4] => [3,1,4,2]
[3,1,4,2] => [3,1,4,2]
[3,2,1,4] => [3,2,1,4]
[3,2,4,1] => [3,2,4,1]
[3,4,1,2] => [3,4,1,2]
[3,4,2,1] => [3,4,2,1]
[4,1,2,3] => [4,1,3,2]
[4,1,3,2] => [4,1,3,2]
[4,2,1,3] => [4,2,1,3]
[4,2,3,1] => [4,2,3,1]
[4,3,1,2] => [4,3,1,2]
[4,3,2,1] => [4,3,2,1]
[1,2,3,4,5] => [1,5,4,3,2]
[1,2,3,5,4] => [1,5,4,3,2]
[1,2,4,3,5] => [1,5,4,3,2]
[1,2,4,5,3] => [1,5,4,3,2]
[1,2,5,3,4] => [1,5,4,3,2]
[1,2,5,4,3] => [1,5,4,3,2]
[1,3,2,4,5] => [1,5,4,3,2]
[1,3,2,5,4] => [1,5,4,3,2]
[1,3,4,2,5] => [1,5,4,3,2]
[1,3,4,5,2] => [1,5,4,3,2]
[1,3,5,2,4] => [1,5,4,3,2]
[1,3,5,4,2] => [1,5,4,3,2]
[1,4,2,3,5] => [1,5,4,3,2]
[1,4,2,5,3] => [1,5,4,3,2]
[1,4,3,2,5] => [1,5,4,3,2]
[1,4,3,5,2] => [1,5,4,3,2]
[1,4,5,2,3] => [1,5,4,3,2]
[1,4,5,3,2] => [1,5,4,3,2]
[1,5,2,3,4] => [1,5,4,3,2]
[1,5,2,4,3] => [1,5,4,3,2]
[1,5,3,2,4] => [1,5,4,3,2]
[1,5,3,4,2] => [1,5,4,3,2]
[1,5,4,2,3] => [1,5,4,3,2]
[1,5,4,3,2] => [1,5,4,3,2]
[2,1,3,4,5] => [2,1,5,4,3]
[2,1,3,5,4] => [2,1,5,4,3]
[2,1,4,3,5] => [2,1,5,4,3]
[2,1,4,5,3] => [2,1,5,4,3]
[2,1,5,3,4] => [2,1,5,4,3]
[2,1,5,4,3] => [2,1,5,4,3]
[2,3,1,4,5] => [2,5,1,4,3]
[2,3,1,5,4] => [2,5,1,4,3]
[2,3,4,1,5] => [2,5,4,1,3]
[2,3,4,5,1] => [2,5,4,3,1]
[2,3,5,1,4] => [2,5,4,1,3]
[2,3,5,4,1] => [2,5,4,3,1]
[2,4,1,3,5] => [2,5,1,4,3]
[2,4,1,5,3] => [2,5,1,4,3]
[2,4,3,1,5] => [2,5,4,1,3]
[2,4,3,5,1] => [2,5,4,3,1]
[2,4,5,1,3] => [2,5,4,1,3]
[2,4,5,3,1] => [2,5,4,3,1]
[2,5,1,3,4] => [2,5,1,4,3]
[2,5,1,4,3] => [2,5,1,4,3]
[2,5,3,1,4] => [2,5,4,1,3]
[2,5,3,4,1] => [2,5,4,3,1]
[2,5,4,1,3] => [2,5,4,1,3]
[2,5,4,3,1] => [2,5,4,3,1]
[3,1,2,4,5] => [3,1,5,4,2]
[3,1,2,5,4] => [3,1,5,4,2]
[3,1,4,2,5] => [3,1,5,4,2]
[3,1,4,5,2] => [3,1,5,4,2]
[3,1,5,2,4] => [3,1,5,4,2]
[3,1,5,4,2] => [3,1,5,4,2]
[3,2,1,4,5] => [3,2,1,5,4]
[3,2,1,5,4] => [3,2,1,5,4]
[3,2,4,1,5] => [3,2,5,1,4]
[3,2,4,5,1] => [3,2,5,4,1]
[3,2,5,1,4] => [3,2,5,1,4]
[3,2,5,4,1] => [3,2,5,4,1]
[3,4,1,2,5] => [3,5,1,4,2]
[3,4,1,5,2] => [3,5,1,4,2]
[3,4,2,1,5] => [3,5,2,1,4]
[3,4,2,5,1] => [3,5,2,4,1]
[3,4,5,1,2] => [3,5,4,1,2]
[3,4,5,2,1] => [3,5,4,2,1]
[3,5,1,2,4] => [3,5,1,4,2]
[3,5,1,4,2] => [3,5,1,4,2]
[3,5,2,1,4] => [3,5,2,1,4]
[3,5,2,4,1] => [3,5,2,4,1]
[3,5,4,1,2] => [3,5,4,1,2]
[3,5,4,2,1] => [3,5,4,2,1]
[4,1,2,3,5] => [4,1,5,3,2]
[4,1,2,5,3] => [4,1,5,3,2]
[4,1,3,2,5] => [4,1,5,3,2]
[4,1,3,5,2] => [4,1,5,3,2]
[4,1,5,2,3] => [4,1,5,3,2]
[4,1,5,3,2] => [4,1,5,3,2]
[4,2,1,3,5] => [4,2,1,5,3]
[4,2,1,5,3] => [4,2,1,5,3]
[4,2,3,1,5] => [4,2,5,1,3]
[4,2,3,5,1] => [4,2,5,3,1]
[4,2,5,1,3] => [4,2,5,1,3]
[4,2,5,3,1] => [4,2,5,3,1]
[4,3,1,2,5] => [4,3,1,5,2]
[4,3,1,5,2] => [4,3,1,5,2]
[4,3,2,1,5] => [4,3,2,1,5]
[4,3,2,5,1] => [4,3,2,5,1]
[4,3,5,1,2] => [4,3,5,1,2]
[4,3,5,2,1] => [4,3,5,2,1]
[4,5,1,2,3] => [4,5,1,3,2]
[4,5,1,3,2] => [4,5,1,3,2]
[4,5,2,1,3] => [4,5,2,1,3]
[4,5,2,3,1] => [4,5,2,3,1]
[4,5,3,1,2] => [4,5,3,1,2]
[4,5,3,2,1] => [4,5,3,2,1]
[5,1,2,3,4] => [5,1,4,3,2]
[5,1,2,4,3] => [5,1,4,3,2]
[5,1,3,2,4] => [5,1,4,3,2]
[5,1,3,4,2] => [5,1,4,3,2]
[5,1,4,2,3] => [5,1,4,3,2]
[5,1,4,3,2] => [5,1,4,3,2]
[5,2,1,3,4] => [5,2,1,4,3]
[5,2,1,4,3] => [5,2,1,4,3]
[5,2,3,1,4] => [5,2,4,1,3]
[5,2,3,4,1] => [5,2,4,3,1]
[5,2,4,1,3] => [5,2,4,1,3]
[5,2,4,3,1] => [5,2,4,3,1]
[5,3,1,2,4] => [5,3,1,4,2]
[5,3,1,4,2] => [5,3,1,4,2]
[5,3,2,1,4] => [5,3,2,1,4]
[5,3,2,4,1] => [5,3,2,4,1]
[5,3,4,1,2] => [5,3,4,1,2]
[5,3,4,2,1] => [5,3,4,2,1]
[5,4,1,2,3] => [5,4,1,3,2]
[5,4,1,3,2] => [5,4,1,3,2]
[5,4,2,1,3] => [5,4,2,1,3]
[5,4,2,3,1] => [5,4,2,3,1]
[5,4,3,1,2] => [5,4,3,1,2]
[5,4,3,2,1] => [5,4,3,2,1]
[1,2,3,4,5,6] => [1,6,5,4,3,2]
[1,2,3,4,6,5] => [1,6,5,4,3,2]
[1,2,3,5,4,6] => [1,6,5,4,3,2]
[1,2,3,5,6,4] => [1,6,5,4,3,2]
[1,2,3,6,4,5] => [1,6,5,4,3,2]
[1,2,3,6,5,4] => [1,6,5,4,3,2]
[1,2,4,3,5,6] => [1,6,5,4,3,2]
[1,2,4,3,6,5] => [1,6,5,4,3,2]
[1,2,4,5,3,6] => [1,6,5,4,3,2]
[1,2,4,5,6,3] => [1,6,5,4,3,2]
[1,2,4,6,3,5] => [1,6,5,4,3,2]
[1,2,4,6,5,3] => [1,6,5,4,3,2]
[1,2,5,3,4,6] => [1,6,5,4,3,2]
[1,2,5,3,6,4] => [1,6,5,4,3,2]
[1,2,5,4,3,6] => [1,6,5,4,3,2]
[1,2,5,4,6,3] => [1,6,5,4,3,2]
[1,2,5,6,3,4] => [1,6,5,4,3,2]
[1,2,5,6,4,3] => [1,6,5,4,3,2]
[1,2,6,3,4,5] => [1,6,5,4,3,2]
[1,2,6,3,5,4] => [1,6,5,4,3,2]
[1,2,6,4,3,5] => [1,6,5,4,3,2]
[1,2,6,4,5,3] => [1,6,5,4,3,2]
[1,2,6,5,3,4] => [1,6,5,4,3,2]
[1,2,6,5,4,3] => [1,6,5,4,3,2]
[1,3,2,4,5,6] => [1,6,5,4,3,2]
[1,3,2,4,6,5] => [1,6,5,4,3,2]
[1,3,2,5,4,6] => [1,6,5,4,3,2]
[1,3,2,5,6,4] => [1,6,5,4,3,2]
[1,3,2,6,4,5] => [1,6,5,4,3,2]
[1,3,2,6,5,4] => [1,6,5,4,3,2]
[1,3,4,2,5,6] => [1,6,5,4,3,2]
[1,3,4,2,6,5] => [1,6,5,4,3,2]
[1,3,4,5,2,6] => [1,6,5,4,3,2]
[1,3,4,5,6,2] => [1,6,5,4,3,2]
[1,3,4,6,2,5] => [1,6,5,4,3,2]
[1,3,4,6,5,2] => [1,6,5,4,3,2]
[1,3,5,2,4,6] => [1,6,5,4,3,2]
[1,3,5,2,6,4] => [1,6,5,4,3,2]
[1,3,5,4,2,6] => [1,6,5,4,3,2]
[1,3,5,4,6,2] => [1,6,5,4,3,2]
[1,3,5,6,2,4] => [1,6,5,4,3,2]
[1,3,5,6,4,2] => [1,6,5,4,3,2]
[1,3,6,2,4,5] => [1,6,5,4,3,2]
[1,3,6,2,5,4] => [1,6,5,4,3,2]
[1,3,6,4,2,5] => [1,6,5,4,3,2]
[1,3,6,4,5,2] => [1,6,5,4,3,2]
[1,3,6,5,2,4] => [1,6,5,4,3,2]
[1,3,6,5,4,2] => [1,6,5,4,3,2]
[1,4,2,3,5,6] => [1,6,5,4,3,2]
[1,4,2,3,6,5] => [1,6,5,4,3,2]
[1,4,2,5,3,6] => [1,6,5,4,3,2]
[1,4,2,5,6,3] => [1,6,5,4,3,2]
[1,4,2,6,3,5] => [1,6,5,4,3,2]
[1,4,2,6,5,3] => [1,6,5,4,3,2]
[1,4,3,2,5,6] => [1,6,5,4,3,2]
[1,4,3,2,6,5] => [1,6,5,4,3,2]
[1,4,3,5,2,6] => [1,6,5,4,3,2]
[1,4,3,5,6,2] => [1,6,5,4,3,2]
[1,4,3,6,2,5] => [1,6,5,4,3,2]
[1,4,3,6,5,2] => [1,6,5,4,3,2]
[1,4,5,2,3,6] => [1,6,5,4,3,2]
[1,4,5,2,6,3] => [1,6,5,4,3,2]
[1,4,5,3,2,6] => [1,6,5,4,3,2]
[1,4,5,3,6,2] => [1,6,5,4,3,2]
[1,4,5,6,2,3] => [1,6,5,4,3,2]
[1,4,5,6,3,2] => [1,6,5,4,3,2]
[1,4,6,2,3,5] => [1,6,5,4,3,2]
[1,4,6,2,5,3] => [1,6,5,4,3,2]
[1,4,6,3,2,5] => [1,6,5,4,3,2]
[1,4,6,3,5,2] => [1,6,5,4,3,2]
[1,4,6,5,2,3] => [1,6,5,4,3,2]
[1,4,6,5,3,2] => [1,6,5,4,3,2]
[1,5,2,3,4,6] => [1,6,5,4,3,2]
[1,5,2,3,6,4] => [1,6,5,4,3,2]
[1,5,2,4,3,6] => [1,6,5,4,3,2]
[1,5,2,4,6,3] => [1,6,5,4,3,2]
[1,5,2,6,3,4] => [1,6,5,4,3,2]
[1,5,2,6,4,3] => [1,6,5,4,3,2]
[1,5,3,2,4,6] => [1,6,5,4,3,2]
[1,5,3,2,6,4] => [1,6,5,4,3,2]
[1,5,3,4,2,6] => [1,6,5,4,3,2]
[1,5,3,4,6,2] => [1,6,5,4,3,2]
[1,5,3,6,2,4] => [1,6,5,4,3,2]
[1,5,3,6,4,2] => [1,6,5,4,3,2]
[1,5,4,2,3,6] => [1,6,5,4,3,2]
[1,5,4,2,6,3] => [1,6,5,4,3,2]
[1,5,4,3,2,6] => [1,6,5,4,3,2]
[1,5,4,3,6,2] => [1,6,5,4,3,2]
[1,5,4,6,2,3] => [1,6,5,4,3,2]
[1,5,4,6,3,2] => [1,6,5,4,3,2]
[1,5,6,2,3,4] => [1,6,5,4,3,2]
[1,5,6,2,4,3] => [1,6,5,4,3,2]
[1,5,6,3,2,4] => [1,6,5,4,3,2]
[1,5,6,3,4,2] => [1,6,5,4,3,2]
[1,5,6,4,2,3] => [1,6,5,4,3,2]
[1,5,6,4,3,2] => [1,6,5,4,3,2]
[1,6,2,3,4,5] => [1,6,5,4,3,2]
[1,6,2,3,5,4] => [1,6,5,4,3,2]
[1,6,2,4,3,5] => [1,6,5,4,3,2]
[1,6,2,4,5,3] => [1,6,5,4,3,2]
[1,6,2,5,3,4] => [1,6,5,4,3,2]
[1,6,2,5,4,3] => [1,6,5,4,3,2]
[1,6,3,2,4,5] => [1,6,5,4,3,2]
[1,6,3,2,5,4] => [1,6,5,4,3,2]
[1,6,3,4,2,5] => [1,6,5,4,3,2]
[1,6,3,4,5,2] => [1,6,5,4,3,2]
[1,6,3,5,2,4] => [1,6,5,4,3,2]
[1,6,3,5,4,2] => [1,6,5,4,3,2]
[1,6,4,2,3,5] => [1,6,5,4,3,2]
[1,6,4,2,5,3] => [1,6,5,4,3,2]
[1,6,4,3,2,5] => [1,6,5,4,3,2]
[1,6,4,3,5,2] => [1,6,5,4,3,2]
[1,6,4,5,2,3] => [1,6,5,4,3,2]
[1,6,4,5,3,2] => [1,6,5,4,3,2]
[1,6,5,2,3,4] => [1,6,5,4,3,2]
[1,6,5,2,4,3] => [1,6,5,4,3,2]
[1,6,5,3,2,4] => [1,6,5,4,3,2]
[1,6,5,3,4,2] => [1,6,5,4,3,2]
[1,6,5,4,2,3] => [1,6,5,4,3,2]
[1,6,5,4,3,2] => [1,6,5,4,3,2]
[2,1,3,4,5,6] => [2,1,6,5,4,3]
[2,1,3,4,6,5] => [2,1,6,5,4,3]
[2,1,3,5,4,6] => [2,1,6,5,4,3]
[2,1,3,5,6,4] => [2,1,6,5,4,3]
[2,1,3,6,4,5] => [2,1,6,5,4,3]
[2,1,3,6,5,4] => [2,1,6,5,4,3]
[2,1,4,3,5,6] => [2,1,6,5,4,3]
[2,1,4,3,6,5] => [2,1,6,5,4,3]
[2,1,4,5,3,6] => [2,1,6,5,4,3]
[2,1,4,5,6,3] => [2,1,6,5,4,3]
[2,1,4,6,3,5] => [2,1,6,5,4,3]
[2,1,4,6,5,3] => [2,1,6,5,4,3]
[2,1,5,3,4,6] => [2,1,6,5,4,3]
[2,1,5,3,6,4] => [2,1,6,5,4,3]
[2,1,5,4,3,6] => [2,1,6,5,4,3]
[2,1,5,4,6,3] => [2,1,6,5,4,3]
[2,1,5,6,3,4] => [2,1,6,5,4,3]
[2,1,5,6,4,3] => [2,1,6,5,4,3]
[2,1,6,3,4,5] => [2,1,6,5,4,3]
[2,1,6,3,5,4] => [2,1,6,5,4,3]
[2,1,6,4,3,5] => [2,1,6,5,4,3]
[2,1,6,4,5,3] => [2,1,6,5,4,3]
[2,1,6,5,3,4] => [2,1,6,5,4,3]
[2,1,6,5,4,3] => [2,1,6,5,4,3]
[2,3,1,4,5,6] => [2,6,1,5,4,3]
[2,3,1,4,6,5] => [2,6,1,5,4,3]
[2,3,1,5,4,6] => [2,6,1,5,4,3]
[2,3,1,5,6,4] => [2,6,1,5,4,3]
[2,3,1,6,4,5] => [2,6,1,5,4,3]
[2,3,1,6,5,4] => [2,6,1,5,4,3]
[2,3,4,1,5,6] => [2,6,5,1,4,3]
[2,3,4,1,6,5] => [2,6,5,1,4,3]
[2,3,4,5,1,6] => [2,6,5,4,1,3]
[2,3,4,5,6,1] => [2,6,5,4,3,1]
[2,3,4,6,1,5] => [2,6,5,4,1,3]
[2,3,4,6,5,1] => [2,6,5,4,3,1]
[2,3,5,1,4,6] => [2,6,5,1,4,3]
[2,3,5,1,6,4] => [2,6,5,1,4,3]
[2,3,5,4,1,6] => [2,6,5,4,1,3]
[2,3,5,4,6,1] => [2,6,5,4,3,1]
[2,3,5,6,1,4] => [2,6,5,4,1,3]
[2,3,5,6,4,1] => [2,6,5,4,3,1]
[2,3,6,1,4,5] => [2,6,5,1,4,3]
[2,3,6,1,5,4] => [2,6,5,1,4,3]
[2,3,6,4,1,5] => [2,6,5,4,1,3]
[2,3,6,4,5,1] => [2,6,5,4,3,1]
[2,3,6,5,1,4] => [2,6,5,4,1,3]
[2,3,6,5,4,1] => [2,6,5,4,3,1]
[2,4,1,3,5,6] => [2,6,1,5,4,3]
[2,4,1,3,6,5] => [2,6,1,5,4,3]
[2,4,1,5,3,6] => [2,6,1,5,4,3]
[2,4,1,5,6,3] => [2,6,1,5,4,3]
[2,4,1,6,3,5] => [2,6,1,5,4,3]
[2,4,1,6,5,3] => [2,6,1,5,4,3]
[2,4,3,1,5,6] => [2,6,5,1,4,3]
[2,4,3,1,6,5] => [2,6,5,1,4,3]
[2,4,3,5,1,6] => [2,6,5,4,1,3]
[2,4,3,5,6,1] => [2,6,5,4,3,1]
[2,4,3,6,1,5] => [2,6,5,4,1,3]
[2,4,3,6,5,1] => [2,6,5,4,3,1]
[2,4,5,1,3,6] => [2,6,5,1,4,3]
[2,4,5,1,6,3] => [2,6,5,1,4,3]
[2,4,5,3,1,6] => [2,6,5,4,1,3]
[2,4,5,3,6,1] => [2,6,5,4,3,1]
[2,4,5,6,1,3] => [2,6,5,4,1,3]
[2,4,5,6,3,1] => [2,6,5,4,3,1]
[2,4,6,1,3,5] => [2,6,5,1,4,3]
[2,4,6,1,5,3] => [2,6,5,1,4,3]
[2,4,6,3,1,5] => [2,6,5,4,1,3]
[2,4,6,3,5,1] => [2,6,5,4,3,1]
[2,4,6,5,1,3] => [2,6,5,4,1,3]
[2,4,6,5,3,1] => [2,6,5,4,3,1]
[2,5,1,3,4,6] => [2,6,1,5,4,3]
[2,5,1,3,6,4] => [2,6,1,5,4,3]
[2,5,1,4,3,6] => [2,6,1,5,4,3]
[2,5,1,4,6,3] => [2,6,1,5,4,3]
[2,5,1,6,3,4] => [2,6,1,5,4,3]
[2,5,1,6,4,3] => [2,6,1,5,4,3]
[2,5,3,1,4,6] => [2,6,5,1,4,3]
[2,5,3,1,6,4] => [2,6,5,1,4,3]
[2,5,3,4,1,6] => [2,6,5,4,1,3]
[2,5,3,4,6,1] => [2,6,5,4,3,1]
[2,5,3,6,1,4] => [2,6,5,4,1,3]
[2,5,3,6,4,1] => [2,6,5,4,3,1]
[2,5,4,1,3,6] => [2,6,5,1,4,3]
[2,5,4,1,6,3] => [2,6,5,1,4,3]
[2,5,4,3,1,6] => [2,6,5,4,1,3]
[2,5,4,3,6,1] => [2,6,5,4,3,1]
[2,5,4,6,1,3] => [2,6,5,4,1,3]
[2,5,4,6,3,1] => [2,6,5,4,3,1]
[2,5,6,1,3,4] => [2,6,5,1,4,3]
[2,5,6,1,4,3] => [2,6,5,1,4,3]
[2,5,6,3,1,4] => [2,6,5,4,1,3]
[2,5,6,3,4,1] => [2,6,5,4,3,1]
[2,5,6,4,1,3] => [2,6,5,4,1,3]
[2,5,6,4,3,1] => [2,6,5,4,3,1]
[2,6,1,3,4,5] => [2,6,1,5,4,3]
[2,6,1,3,5,4] => [2,6,1,5,4,3]
[2,6,1,4,3,5] => [2,6,1,5,4,3]
[2,6,1,4,5,3] => [2,6,1,5,4,3]
[2,6,1,5,3,4] => [2,6,1,5,4,3]
[2,6,1,5,4,3] => [2,6,1,5,4,3]
[2,6,3,1,4,5] => [2,6,5,1,4,3]
[2,6,3,1,5,4] => [2,6,5,1,4,3]
[2,6,3,4,1,5] => [2,6,5,4,1,3]
[2,6,3,4,5,1] => [2,6,5,4,3,1]
[2,6,3,5,1,4] => [2,6,5,4,1,3]
[2,6,3,5,4,1] => [2,6,5,4,3,1]
[2,6,4,1,3,5] => [2,6,5,1,4,3]
[2,6,4,1,5,3] => [2,6,5,1,4,3]
[2,6,4,3,1,5] => [2,6,5,4,1,3]
[2,6,4,3,5,1] => [2,6,5,4,3,1]
[2,6,4,5,1,3] => [2,6,5,4,1,3]
[2,6,4,5,3,1] => [2,6,5,4,3,1]
[2,6,5,1,3,4] => [2,6,5,1,4,3]
[2,6,5,1,4,3] => [2,6,5,1,4,3]
[2,6,5,3,1,4] => [2,6,5,4,1,3]
[2,6,5,3,4,1] => [2,6,5,4,3,1]
[2,6,5,4,1,3] => [2,6,5,4,1,3]
[2,6,5,4,3,1] => [2,6,5,4,3,1]
[3,1,2,4,5,6] => [3,1,6,5,4,2]
[3,1,2,4,6,5] => [3,1,6,5,4,2]
[3,1,2,5,4,6] => [3,1,6,5,4,2]
[3,1,2,5,6,4] => [3,1,6,5,4,2]
[3,1,2,6,4,5] => [3,1,6,5,4,2]
[3,1,2,6,5,4] => [3,1,6,5,4,2]
[3,1,4,2,5,6] => [3,1,6,5,4,2]
[3,1,4,2,6,5] => [3,1,6,5,4,2]
[3,1,4,5,2,6] => [3,1,6,5,4,2]
[3,1,4,5,6,2] => [3,1,6,5,4,2]
[3,1,4,6,2,5] => [3,1,6,5,4,2]
[3,1,4,6,5,2] => [3,1,6,5,4,2]
[3,1,5,2,4,6] => [3,1,6,5,4,2]
[3,1,5,2,6,4] => [3,1,6,5,4,2]
[3,1,5,4,2,6] => [3,1,6,5,4,2]
[3,1,5,4,6,2] => [3,1,6,5,4,2]
[3,1,5,6,2,4] => [3,1,6,5,4,2]
[3,1,5,6,4,2] => [3,1,6,5,4,2]
[3,1,6,2,4,5] => [3,1,6,5,4,2]
[3,1,6,2,5,4] => [3,1,6,5,4,2]
[3,1,6,4,2,5] => [3,1,6,5,4,2]
[3,1,6,4,5,2] => [3,1,6,5,4,2]
[3,1,6,5,2,4] => [3,1,6,5,4,2]
[3,1,6,5,4,2] => [3,1,6,5,4,2]
[3,2,1,4,5,6] => [3,2,1,6,5,4]
[3,2,1,4,6,5] => [3,2,1,6,5,4]
[3,2,1,5,4,6] => [3,2,1,6,5,4]
[3,2,1,5,6,4] => [3,2,1,6,5,4]
[3,2,1,6,4,5] => [3,2,1,6,5,4]
[3,2,1,6,5,4] => [3,2,1,6,5,4]
[3,2,4,1,5,6] => [3,2,6,1,5,4]
[3,2,4,1,6,5] => [3,2,6,1,5,4]
[3,2,4,5,1,6] => [3,2,6,5,1,4]
[3,2,4,5,6,1] => [3,2,6,5,4,1]
[3,2,4,6,1,5] => [3,2,6,5,1,4]
[3,2,4,6,5,1] => [3,2,6,5,4,1]
[3,2,5,1,4,6] => [3,2,6,1,5,4]
[3,2,5,1,6,4] => [3,2,6,1,5,4]
[3,2,5,4,1,6] => [3,2,6,5,1,4]
[3,2,5,4,6,1] => [3,2,6,5,4,1]
[3,2,5,6,1,4] => [3,2,6,5,1,4]
[3,2,5,6,4,1] => [3,2,6,5,4,1]
[3,2,6,1,4,5] => [3,2,6,1,5,4]
[3,2,6,1,5,4] => [3,2,6,1,5,4]
[3,2,6,4,1,5] => [3,2,6,5,1,4]
[3,2,6,4,5,1] => [3,2,6,5,4,1]
[3,2,6,5,1,4] => [3,2,6,5,1,4]
[3,2,6,5,4,1] => [3,2,6,5,4,1]
[3,4,1,2,5,6] => [3,6,1,5,4,2]
[3,4,1,2,6,5] => [3,6,1,5,4,2]
[3,4,1,5,2,6] => [3,6,1,5,4,2]
[3,4,1,5,6,2] => [3,6,1,5,4,2]
[3,4,1,6,2,5] => [3,6,1,5,4,2]
[3,4,1,6,5,2] => [3,6,1,5,4,2]
[3,4,2,1,5,6] => [3,6,2,1,5,4]
[3,4,2,1,6,5] => [3,6,2,1,5,4]
[3,4,2,5,1,6] => [3,6,2,5,1,4]
[3,4,2,5,6,1] => [3,6,2,5,4,1]
[3,4,2,6,1,5] => [3,6,2,5,1,4]
[3,4,2,6,5,1] => [3,6,2,5,4,1]
[3,4,5,1,2,6] => [3,6,5,1,4,2]
[3,4,5,1,6,2] => [3,6,5,1,4,2]
[3,4,5,2,1,6] => [3,6,5,2,1,4]
[3,4,5,2,6,1] => [3,6,5,2,4,1]
[3,4,5,6,1,2] => [3,6,5,4,1,2]
[3,4,5,6,2,1] => [3,6,5,4,2,1]
[3,4,6,1,2,5] => [3,6,5,1,4,2]
[3,4,6,1,5,2] => [3,6,5,1,4,2]
[3,4,6,2,1,5] => [3,6,5,2,1,4]
[3,4,6,2,5,1] => [3,6,5,2,4,1]
[3,4,6,5,1,2] => [3,6,5,4,1,2]
[3,4,6,5,2,1] => [3,6,5,4,2,1]
[3,5,1,2,4,6] => [3,6,1,5,4,2]
[3,5,1,2,6,4] => [3,6,1,5,4,2]
[3,5,1,4,2,6] => [3,6,1,5,4,2]
[3,5,1,4,6,2] => [3,6,1,5,4,2]
[3,5,1,6,2,4] => [3,6,1,5,4,2]
[3,5,1,6,4,2] => [3,6,1,5,4,2]
[3,5,2,1,4,6] => [3,6,2,1,5,4]
[3,5,2,1,6,4] => [3,6,2,1,5,4]
[3,5,2,4,1,6] => [3,6,2,5,1,4]
[3,5,2,4,6,1] => [3,6,2,5,4,1]
[3,5,2,6,1,4] => [3,6,2,5,1,4]
[3,5,2,6,4,1] => [3,6,2,5,4,1]
[3,5,4,1,2,6] => [3,6,5,1,4,2]
[3,5,4,1,6,2] => [3,6,5,1,4,2]
[3,5,4,2,1,6] => [3,6,5,2,1,4]
[3,5,4,2,6,1] => [3,6,5,2,4,1]
[3,5,4,6,1,2] => [3,6,5,4,1,2]
[3,5,4,6,2,1] => [3,6,5,4,2,1]
[3,5,6,1,2,4] => [3,6,5,1,4,2]
[3,5,6,1,4,2] => [3,6,5,1,4,2]
[3,5,6,2,1,4] => [3,6,5,2,1,4]
[3,5,6,2,4,1] => [3,6,5,2,4,1]
[3,5,6,4,1,2] => [3,6,5,4,1,2]
[3,5,6,4,2,1] => [3,6,5,4,2,1]
[3,6,1,2,4,5] => [3,6,1,5,4,2]
[3,6,1,2,5,4] => [3,6,1,5,4,2]
[3,6,1,4,2,5] => [3,6,1,5,4,2]
[3,6,1,4,5,2] => [3,6,1,5,4,2]
[3,6,1,5,2,4] => [3,6,1,5,4,2]
[3,6,1,5,4,2] => [3,6,1,5,4,2]
[3,6,2,1,4,5] => [3,6,2,1,5,4]
[3,6,2,1,5,4] => [3,6,2,1,5,4]
[3,6,2,4,1,5] => [3,6,2,5,1,4]
[3,6,2,4,5,1] => [3,6,2,5,4,1]
[3,6,2,5,1,4] => [3,6,2,5,1,4]
[3,6,2,5,4,1] => [3,6,2,5,4,1]
[3,6,4,1,2,5] => [3,6,5,1,4,2]
[3,6,4,1,5,2] => [3,6,5,1,4,2]
[3,6,4,2,1,5] => [3,6,5,2,1,4]
[3,6,4,2,5,1] => [3,6,5,2,4,1]
[3,6,4,5,1,2] => [3,6,5,4,1,2]
[3,6,4,5,2,1] => [3,6,5,4,2,1]
[3,6,5,1,2,4] => [3,6,5,1,4,2]
[3,6,5,1,4,2] => [3,6,5,1,4,2]
[3,6,5,2,1,4] => [3,6,5,2,1,4]
[3,6,5,2,4,1] => [3,6,5,2,4,1]
[3,6,5,4,1,2] => [3,6,5,4,1,2]
[3,6,5,4,2,1] => [3,6,5,4,2,1]
[4,1,2,3,5,6] => [4,1,6,5,3,2]
[4,1,2,3,6,5] => [4,1,6,5,3,2]
[4,1,2,5,3,6] => [4,1,6,5,3,2]
[4,1,2,5,6,3] => [4,1,6,5,3,2]
[4,1,2,6,3,5] => [4,1,6,5,3,2]
[4,1,2,6,5,3] => [4,1,6,5,3,2]
[4,1,3,2,5,6] => [4,1,6,5,3,2]
[4,1,3,2,6,5] => [4,1,6,5,3,2]
[4,1,3,5,2,6] => [4,1,6,5,3,2]
[4,1,3,5,6,2] => [4,1,6,5,3,2]
[4,1,3,6,2,5] => [4,1,6,5,3,2]
[4,1,3,6,5,2] => [4,1,6,5,3,2]
[4,1,5,2,3,6] => [4,1,6,5,3,2]
[4,1,5,2,6,3] => [4,1,6,5,3,2]
[4,1,5,3,2,6] => [4,1,6,5,3,2]
[4,1,5,3,6,2] => [4,1,6,5,3,2]
[4,1,5,6,2,3] => [4,1,6,5,3,2]
[4,1,5,6,3,2] => [4,1,6,5,3,2]
[4,1,6,2,3,5] => [4,1,6,5,3,2]
[4,1,6,2,5,3] => [4,1,6,5,3,2]
[4,1,6,3,2,5] => [4,1,6,5,3,2]
[4,1,6,3,5,2] => [4,1,6,5,3,2]
[4,1,6,5,2,3] => [4,1,6,5,3,2]
[4,1,6,5,3,2] => [4,1,6,5,3,2]
[4,2,1,3,5,6] => [4,2,1,6,5,3]
[4,2,1,3,6,5] => [4,2,1,6,5,3]
[4,2,1,5,3,6] => [4,2,1,6,5,3]
[4,2,1,5,6,3] => [4,2,1,6,5,3]
[4,2,1,6,3,5] => [4,2,1,6,5,3]
[4,2,1,6,5,3] => [4,2,1,6,5,3]
[4,2,3,1,5,6] => [4,2,6,1,5,3]
[4,2,3,1,6,5] => [4,2,6,1,5,3]
[4,2,3,5,1,6] => [4,2,6,5,1,3]
[4,2,3,5,6,1] => [4,2,6,5,3,1]
[4,2,3,6,1,5] => [4,2,6,5,1,3]
[4,2,3,6,5,1] => [4,2,6,5,3,1]
[4,2,5,1,3,6] => [4,2,6,1,5,3]
[4,2,5,1,6,3] => [4,2,6,1,5,3]
[4,2,5,3,1,6] => [4,2,6,5,1,3]
[4,2,5,3,6,1] => [4,2,6,5,3,1]
[4,2,5,6,1,3] => [4,2,6,5,1,3]
[4,2,5,6,3,1] => [4,2,6,5,3,1]
[4,2,6,1,3,5] => [4,2,6,1,5,3]
[4,2,6,1,5,3] => [4,2,6,1,5,3]
[4,2,6,3,1,5] => [4,2,6,5,1,3]
[4,2,6,3,5,1] => [4,2,6,5,3,1]
[4,2,6,5,1,3] => [4,2,6,5,1,3]
[4,2,6,5,3,1] => [4,2,6,5,3,1]
[4,3,1,2,5,6] => [4,3,1,6,5,2]
[4,3,1,2,6,5] => [4,3,1,6,5,2]
[4,3,1,5,2,6] => [4,3,1,6,5,2]
[4,3,1,5,6,2] => [4,3,1,6,5,2]
[4,3,1,6,2,5] => [4,3,1,6,5,2]
[4,3,1,6,5,2] => [4,3,1,6,5,2]
[4,3,2,1,5,6] => [4,3,2,1,6,5]
[4,3,2,1,6,5] => [4,3,2,1,6,5]
[4,3,2,5,1,6] => [4,3,2,6,1,5]
[4,3,2,5,6,1] => [4,3,2,6,5,1]
[4,3,2,6,1,5] => [4,3,2,6,1,5]
[4,3,2,6,5,1] => [4,3,2,6,5,1]
[4,3,5,1,2,6] => [4,3,6,1,5,2]
[4,3,5,1,6,2] => [4,3,6,1,5,2]
[4,3,5,2,1,6] => [4,3,6,2,1,5]
[4,3,5,2,6,1] => [4,3,6,2,5,1]
[4,3,5,6,1,2] => [4,3,6,5,1,2]
[4,3,5,6,2,1] => [4,3,6,5,2,1]
[4,3,6,1,2,5] => [4,3,6,1,5,2]
[4,3,6,1,5,2] => [4,3,6,1,5,2]
[4,3,6,2,1,5] => [4,3,6,2,1,5]
[4,3,6,2,5,1] => [4,3,6,2,5,1]
[4,3,6,5,1,2] => [4,3,6,5,1,2]
[4,3,6,5,2,1] => [4,3,6,5,2,1]
[4,5,1,2,3,6] => [4,6,1,5,3,2]
[4,5,1,2,6,3] => [4,6,1,5,3,2]
[4,5,1,3,2,6] => [4,6,1,5,3,2]
[4,5,1,3,6,2] => [4,6,1,5,3,2]
[4,5,1,6,2,3] => [4,6,1,5,3,2]
[4,5,1,6,3,2] => [4,6,1,5,3,2]
[4,5,2,1,3,6] => [4,6,2,1,5,3]
[4,5,2,1,6,3] => [4,6,2,1,5,3]
[4,5,2,3,1,6] => [4,6,2,5,1,3]
[4,5,2,3,6,1] => [4,6,2,5,3,1]
[4,5,2,6,1,3] => [4,6,2,5,1,3]
[4,5,2,6,3,1] => [4,6,2,5,3,1]
[4,5,3,1,2,6] => [4,6,3,1,5,2]
[4,5,3,1,6,2] => [4,6,3,1,5,2]
[4,5,3,2,1,6] => [4,6,3,2,1,5]
[4,5,3,2,6,1] => [4,6,3,2,5,1]
[4,5,3,6,1,2] => [4,6,3,5,1,2]
[4,5,3,6,2,1] => [4,6,3,5,2,1]
[4,5,6,1,2,3] => [4,6,5,1,3,2]
[4,5,6,1,3,2] => [4,6,5,1,3,2]
[4,5,6,2,1,3] => [4,6,5,2,1,3]
[4,5,6,2,3,1] => [4,6,5,2,3,1]
[4,5,6,3,1,2] => [4,6,5,3,1,2]
[4,5,6,3,2,1] => [4,6,5,3,2,1]
[4,6,1,2,3,5] => [4,6,1,5,3,2]
[4,6,1,2,5,3] => [4,6,1,5,3,2]
[4,6,1,3,2,5] => [4,6,1,5,3,2]
[4,6,1,3,5,2] => [4,6,1,5,3,2]
[4,6,1,5,2,3] => [4,6,1,5,3,2]
[4,6,1,5,3,2] => [4,6,1,5,3,2]
[4,6,2,1,3,5] => [4,6,2,1,5,3]
[4,6,2,1,5,3] => [4,6,2,1,5,3]
[4,6,2,3,1,5] => [4,6,2,5,1,3]
[4,6,2,3,5,1] => [4,6,2,5,3,1]
[4,6,2,5,1,3] => [4,6,2,5,1,3]
[4,6,2,5,3,1] => [4,6,2,5,3,1]
[4,6,3,1,2,5] => [4,6,3,1,5,2]
[4,6,3,1,5,2] => [4,6,3,1,5,2]
[4,6,3,2,1,5] => [4,6,3,2,1,5]
[4,6,3,2,5,1] => [4,6,3,2,5,1]
[4,6,3,5,1,2] => [4,6,3,5,1,2]
[4,6,3,5,2,1] => [4,6,3,5,2,1]
[4,6,5,1,2,3] => [4,6,5,1,3,2]
[4,6,5,1,3,2] => [4,6,5,1,3,2]
[4,6,5,2,1,3] => [4,6,5,2,1,3]
[4,6,5,2,3,1] => [4,6,5,2,3,1]
[4,6,5,3,1,2] => [4,6,5,3,1,2]
[4,6,5,3,2,1] => [4,6,5,3,2,1]
[5,1,2,3,4,6] => [5,1,6,4,3,2]
[5,1,2,3,6,4] => [5,1,6,4,3,2]
[5,1,2,4,3,6] => [5,1,6,4,3,2]
[5,1,2,4,6,3] => [5,1,6,4,3,2]
[5,1,2,6,3,4] => [5,1,6,4,3,2]
[5,1,2,6,4,3] => [5,1,6,4,3,2]
[5,1,3,2,4,6] => [5,1,6,4,3,2]
[5,1,3,2,6,4] => [5,1,6,4,3,2]
[5,1,3,4,2,6] => [5,1,6,4,3,2]
[5,1,3,4,6,2] => [5,1,6,4,3,2]
[5,1,3,6,2,4] => [5,1,6,4,3,2]
[5,1,3,6,4,2] => [5,1,6,4,3,2]
[5,1,4,2,3,6] => [5,1,6,4,3,2]
[5,1,4,2,6,3] => [5,1,6,4,3,2]
[5,1,4,3,2,6] => [5,1,6,4,3,2]
[5,1,4,3,6,2] => [5,1,6,4,3,2]
[5,1,4,6,2,3] => [5,1,6,4,3,2]
[5,1,4,6,3,2] => [5,1,6,4,3,2]
[5,1,6,2,3,4] => [5,1,6,4,3,2]
[5,1,6,2,4,3] => [5,1,6,4,3,2]
[5,1,6,3,2,4] => [5,1,6,4,3,2]
[5,1,6,3,4,2] => [5,1,6,4,3,2]
[5,1,6,4,2,3] => [5,1,6,4,3,2]
[5,1,6,4,3,2] => [5,1,6,4,3,2]
[5,2,1,3,4,6] => [5,2,1,6,4,3]
[5,2,1,3,6,4] => [5,2,1,6,4,3]
[5,2,1,4,3,6] => [5,2,1,6,4,3]
[5,2,1,4,6,3] => [5,2,1,6,4,3]
[5,2,1,6,3,4] => [5,2,1,6,4,3]
[5,2,1,6,4,3] => [5,2,1,6,4,3]
[5,2,3,1,4,6] => [5,2,6,1,4,3]
[5,2,3,1,6,4] => [5,2,6,1,4,3]
[5,2,3,4,1,6] => [5,2,6,4,1,3]
[5,2,3,4,6,1] => [5,2,6,4,3,1]
[5,2,3,6,1,4] => [5,2,6,4,1,3]
[5,2,3,6,4,1] => [5,2,6,4,3,1]
[5,2,4,1,3,6] => [5,2,6,1,4,3]
[5,2,4,1,6,3] => [5,2,6,1,4,3]
[5,2,4,3,1,6] => [5,2,6,4,1,3]
[5,2,4,3,6,1] => [5,2,6,4,3,1]
[5,2,4,6,1,3] => [5,2,6,4,1,3]
[5,2,4,6,3,1] => [5,2,6,4,3,1]
[5,2,6,1,3,4] => [5,2,6,1,4,3]
[5,2,6,1,4,3] => [5,2,6,1,4,3]
[5,2,6,3,1,4] => [5,2,6,4,1,3]
[5,2,6,3,4,1] => [5,2,6,4,3,1]
[5,2,6,4,1,3] => [5,2,6,4,1,3]
[5,2,6,4,3,1] => [5,2,6,4,3,1]
[5,3,1,2,4,6] => [5,3,1,6,4,2]
[5,3,1,2,6,4] => [5,3,1,6,4,2]
[5,3,1,4,2,6] => [5,3,1,6,4,2]
[5,3,1,4,6,2] => [5,3,1,6,4,2]
[5,3,1,6,2,4] => [5,3,1,6,4,2]
[5,3,1,6,4,2] => [5,3,1,6,4,2]
[5,3,2,1,4,6] => [5,3,2,1,6,4]
[5,3,2,1,6,4] => [5,3,2,1,6,4]
[5,3,2,4,1,6] => [5,3,2,6,1,4]
[5,3,2,4,6,1] => [5,3,2,6,4,1]
[5,3,2,6,1,4] => [5,3,2,6,1,4]
[5,3,2,6,4,1] => [5,3,2,6,4,1]
[5,3,4,1,2,6] => [5,3,6,1,4,2]
[5,3,4,1,6,2] => [5,3,6,1,4,2]
[5,3,4,2,1,6] => [5,3,6,2,1,4]
[5,3,4,2,6,1] => [5,3,6,2,4,1]
[5,3,4,6,1,2] => [5,3,6,4,1,2]
[5,3,4,6,2,1] => [5,3,6,4,2,1]
[5,3,6,1,2,4] => [5,3,6,1,4,2]
[5,3,6,1,4,2] => [5,3,6,1,4,2]
[5,3,6,2,1,4] => [5,3,6,2,1,4]
[5,3,6,2,4,1] => [5,3,6,2,4,1]
[5,3,6,4,1,2] => [5,3,6,4,1,2]
[5,3,6,4,2,1] => [5,3,6,4,2,1]
[5,4,1,2,3,6] => [5,4,1,6,3,2]
[5,4,1,2,6,3] => [5,4,1,6,3,2]
[5,4,1,3,2,6] => [5,4,1,6,3,2]
[5,4,1,3,6,2] => [5,4,1,6,3,2]
[5,4,1,6,2,3] => [5,4,1,6,3,2]
[5,4,1,6,3,2] => [5,4,1,6,3,2]
[5,4,2,1,3,6] => [5,4,2,1,6,3]
[5,4,2,1,6,3] => [5,4,2,1,6,3]
[5,4,2,3,1,6] => [5,4,2,6,1,3]
[5,4,2,3,6,1] => [5,4,2,6,3,1]
[5,4,2,6,1,3] => [5,4,2,6,1,3]
[5,4,2,6,3,1] => [5,4,2,6,3,1]
[5,4,3,1,2,6] => [5,4,3,1,6,2]
[5,4,3,1,6,2] => [5,4,3,1,6,2]
[5,4,3,2,1,6] => [5,4,3,2,1,6]
[5,4,3,2,6,1] => [5,4,3,2,6,1]
[5,4,3,6,1,2] => [5,4,3,6,1,2]
[5,4,3,6,2,1] => [5,4,3,6,2,1]
[5,4,6,1,2,3] => [5,4,6,1,3,2]
[5,4,6,1,3,2] => [5,4,6,1,3,2]
[5,4,6,2,1,3] => [5,4,6,2,1,3]
[5,4,6,2,3,1] => [5,4,6,2,3,1]
[5,4,6,3,1,2] => [5,4,6,3,1,2]
[5,4,6,3,2,1] => [5,4,6,3,2,1]
[5,6,1,2,3,4] => [5,6,1,4,3,2]
[5,6,1,2,4,3] => [5,6,1,4,3,2]
[5,6,1,3,2,4] => [5,6,1,4,3,2]
[5,6,1,3,4,2] => [5,6,1,4,3,2]
[5,6,1,4,2,3] => [5,6,1,4,3,2]
[5,6,1,4,3,2] => [5,6,1,4,3,2]
[5,6,2,1,3,4] => [5,6,2,1,4,3]
[5,6,2,1,4,3] => [5,6,2,1,4,3]
[5,6,2,3,1,4] => [5,6,2,4,1,3]
[5,6,2,3,4,1] => [5,6,2,4,3,1]
[5,6,2,4,1,3] => [5,6,2,4,1,3]
[5,6,2,4,3,1] => [5,6,2,4,3,1]
[5,6,3,1,2,4] => [5,6,3,1,4,2]
[5,6,3,1,4,2] => [5,6,3,1,4,2]
[5,6,3,2,1,4] => [5,6,3,2,1,4]
[5,6,3,2,4,1] => [5,6,3,2,4,1]
[5,6,3,4,1,2] => [5,6,3,4,1,2]
[5,6,3,4,2,1] => [5,6,3,4,2,1]
[5,6,4,1,2,3] => [5,6,4,1,3,2]
[5,6,4,1,3,2] => [5,6,4,1,3,2]
[5,6,4,2,1,3] => [5,6,4,2,1,3]
[5,6,4,2,3,1] => [5,6,4,2,3,1]
[5,6,4,3,1,2] => [5,6,4,3,1,2]
[5,6,4,3,2,1] => [5,6,4,3,2,1]
[6,1,2,3,4,5] => [6,1,5,4,3,2]
[6,1,2,3,5,4] => [6,1,5,4,3,2]
[6,1,2,4,3,5] => [6,1,5,4,3,2]
[6,1,2,4,5,3] => [6,1,5,4,3,2]
[6,1,2,5,3,4] => [6,1,5,4,3,2]
[6,1,2,5,4,3] => [6,1,5,4,3,2]
[6,1,3,2,4,5] => [6,1,5,4,3,2]
[6,1,3,2,5,4] => [6,1,5,4,3,2]
[6,1,3,4,2,5] => [6,1,5,4,3,2]
[6,1,3,4,5,2] => [6,1,5,4,3,2]
[6,1,3,5,2,4] => [6,1,5,4,3,2]
[6,1,3,5,4,2] => [6,1,5,4,3,2]
[6,1,4,2,3,5] => [6,1,5,4,3,2]
[6,1,4,2,5,3] => [6,1,5,4,3,2]
[6,1,4,3,2,5] => [6,1,5,4,3,2]
[6,1,4,3,5,2] => [6,1,5,4,3,2]
[6,1,4,5,2,3] => [6,1,5,4,3,2]
[6,1,4,5,3,2] => [6,1,5,4,3,2]
[6,1,5,2,3,4] => [6,1,5,4,3,2]
[6,1,5,2,4,3] => [6,1,5,4,3,2]
[6,1,5,3,2,4] => [6,1,5,4,3,2]
[6,1,5,3,4,2] => [6,1,5,4,3,2]
[6,1,5,4,2,3] => [6,1,5,4,3,2]
[6,1,5,4,3,2] => [6,1,5,4,3,2]
[6,2,1,3,4,5] => [6,2,1,5,4,3]
[6,2,1,3,5,4] => [6,2,1,5,4,3]
[6,2,1,4,3,5] => [6,2,1,5,4,3]
[6,2,1,4,5,3] => [6,2,1,5,4,3]
[6,2,1,5,3,4] => [6,2,1,5,4,3]
[6,2,1,5,4,3] => [6,2,1,5,4,3]
[6,2,3,1,4,5] => [6,2,5,1,4,3]
[6,2,3,1,5,4] => [6,2,5,1,4,3]
[6,2,3,4,1,5] => [6,2,5,4,1,3]
[6,2,3,4,5,1] => [6,2,5,4,3,1]
[6,2,3,5,1,4] => [6,2,5,4,1,3]
[6,2,3,5,4,1] => [6,2,5,4,3,1]
[6,2,4,1,3,5] => [6,2,5,1,4,3]
[6,2,4,1,5,3] => [6,2,5,1,4,3]
[6,2,4,3,1,5] => [6,2,5,4,1,3]
[6,2,4,3,5,1] => [6,2,5,4,3,1]
[6,2,4,5,1,3] => [6,2,5,4,1,3]
[6,2,4,5,3,1] => [6,2,5,4,3,1]
[6,2,5,1,3,4] => [6,2,5,1,4,3]
[6,2,5,1,4,3] => [6,2,5,1,4,3]
[6,2,5,3,1,4] => [6,2,5,4,1,3]
[6,2,5,3,4,1] => [6,2,5,4,3,1]
[6,2,5,4,1,3] => [6,2,5,4,1,3]
[6,2,5,4,3,1] => [6,2,5,4,3,1]
[6,3,1,2,4,5] => [6,3,1,5,4,2]
[6,3,1,2,5,4] => [6,3,1,5,4,2]
[6,3,1,4,2,5] => [6,3,1,5,4,2]
[6,3,1,4,5,2] => [6,3,1,5,4,2]
[6,3,1,5,2,4] => [6,3,1,5,4,2]
[6,3,1,5,4,2] => [6,3,1,5,4,2]
[6,3,2,1,4,5] => [6,3,2,1,5,4]
[6,3,2,1,5,4] => [6,3,2,1,5,4]
[6,3,2,4,1,5] => [6,3,2,5,1,4]
[6,3,2,4,5,1] => [6,3,2,5,4,1]
[6,3,2,5,1,4] => [6,3,2,5,1,4]
[6,3,2,5,4,1] => [6,3,2,5,4,1]
[6,3,4,1,2,5] => [6,3,5,1,4,2]
[6,3,4,1,5,2] => [6,3,5,1,4,2]
[6,3,4,2,1,5] => [6,3,5,2,1,4]
[6,3,4,2,5,1] => [6,3,5,2,4,1]
[6,3,4,5,1,2] => [6,3,5,4,1,2]
[6,3,4,5,2,1] => [6,3,5,4,2,1]
[6,3,5,1,2,4] => [6,3,5,1,4,2]
[6,3,5,1,4,2] => [6,3,5,1,4,2]
[6,3,5,2,1,4] => [6,3,5,2,1,4]
[6,3,5,2,4,1] => [6,3,5,2,4,1]
[6,3,5,4,1,2] => [6,3,5,4,1,2]
[6,3,5,4,2,1] => [6,3,5,4,2,1]
[6,4,1,2,3,5] => [6,4,1,5,3,2]
[6,4,1,2,5,3] => [6,4,1,5,3,2]
[6,4,1,3,2,5] => [6,4,1,5,3,2]
[6,4,1,3,5,2] => [6,4,1,5,3,2]
[6,4,1,5,2,3] => [6,4,1,5,3,2]
[6,4,1,5,3,2] => [6,4,1,5,3,2]
[6,4,2,1,3,5] => [6,4,2,1,5,3]
[6,4,2,1,5,3] => [6,4,2,1,5,3]
[6,4,2,3,1,5] => [6,4,2,5,1,3]
[6,4,2,3,5,1] => [6,4,2,5,3,1]
[6,4,2,5,1,3] => [6,4,2,5,1,3]
[6,4,2,5,3,1] => [6,4,2,5,3,1]
[6,4,3,1,2,5] => [6,4,3,1,5,2]
[6,4,3,1,5,2] => [6,4,3,1,5,2]
[6,4,3,2,1,5] => [6,4,3,2,1,5]
[6,4,3,2,5,1] => [6,4,3,2,5,1]
[6,4,3,5,1,2] => [6,4,3,5,1,2]
[6,4,3,5,2,1] => [6,4,3,5,2,1]
[6,4,5,1,2,3] => [6,4,5,1,3,2]
[6,4,5,1,3,2] => [6,4,5,1,3,2]
[6,4,5,2,1,3] => [6,4,5,2,1,3]
[6,4,5,2,3,1] => [6,4,5,2,3,1]
[6,4,5,3,1,2] => [6,4,5,3,1,2]
[6,4,5,3,2,1] => [6,4,5,3,2,1]
[6,5,1,2,3,4] => [6,5,1,4,3,2]
[6,5,1,2,4,3] => [6,5,1,4,3,2]
[6,5,1,3,2,4] => [6,5,1,4,3,2]
[6,5,1,3,4,2] => [6,5,1,4,3,2]
[6,5,1,4,2,3] => [6,5,1,4,3,2]
[6,5,1,4,3,2] => [6,5,1,4,3,2]
[6,5,2,1,3,4] => [6,5,2,1,4,3]
[6,5,2,1,4,3] => [6,5,2,1,4,3]
[6,5,2,3,1,4] => [6,5,2,4,1,3]
[6,5,2,3,4,1] => [6,5,2,4,3,1]
[6,5,2,4,1,3] => [6,5,2,4,1,3]
[6,5,2,4,3,1] => [6,5,2,4,3,1]
[6,5,3,1,2,4] => [6,5,3,1,4,2]
[6,5,3,1,4,2] => [6,5,3,1,4,2]
[6,5,3,2,1,4] => [6,5,3,2,1,4]
[6,5,3,2,4,1] => [6,5,3,2,4,1]
[6,5,3,4,1,2] => [6,5,3,4,1,2]
[6,5,3,4,2,1] => [6,5,3,4,2,1]
[6,5,4,1,2,3] => [6,5,4,1,3,2]
[6,5,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4,3,2]
[1,4,6,2,7,3,5] => [1,7,6,5,4,3,2]
[1,4,6,2,7,5,3] => [1,7,6,5,4,3,2]
[1,4,6,3,2,5,7] => [1,7,6,5,4,3,2]
[1,4,6,3,2,7,5] => [1,7,6,5,4,3,2]
[1,4,6,3,5,2,7] => [1,7,6,5,4,3,2]
[1,4,6,3,5,7,2] => [1,7,6,5,4,3,2]
[1,4,6,3,7,2,5] => [1,7,6,5,4,3,2]
[1,4,6,3,7,5,2] => [1,7,6,5,4,3,2]
[1,4,6,5,2,3,7] => [1,7,6,5,4,3,2]
[1,4,6,5,2,7,3] => [1,7,6,5,4,3,2]
[1,4,6,5,3,2,7] => [1,7,6,5,4,3,2]
Download as text // json // pdf
Description
The Simion-Schmidt map sends any permutation to a $123$-avoiding permutation.
In particular, this is a bijection between $132$-avoiding permutations and $123$-avoiding permutations, see [1, Proposition 19].
Properties
idempotentA map $\phi: A \rightarrow A$ is idempotent if $\phi\circ\phi = \phi$. Explicitly, this is $\phi(\phi(a)) = \phi(a)$ for any $a \in A$., gradedA map $\phi: A \rightarrow B$ is graded for graded sets $A$ and $B$ if the $\operatorname{deg}(a) = \operatorname{deg}(\phi(a))$ for any $a \in A$.
References
Simion, R., Schmidt, F. W. Restricted permutations MathSciNet:0829358
Code
def simion_schmidt(elt, avoid=[1,2,3]):
    if len(list(elt)) <= 2:
        return elt
    targetPermutation = [elt[0]]
    extreme = elt[0]
    nonMinima = []
    if avoid == [1,2,3] or avoid == [1,3,2]:
        for i in xrange(1, len(list(elt))):
            if elt[i] < extreme:
                targetPermutation.append(elt[i])
                extreme = elt[i]
            else:
                targetPermutation.append(None)
                nonMinima.append(elt[i])
        nonMinima.sort()
        if avoid == [1,3,2]:
            nonMinima.reverse()
    if avoid == [3,2,1] or avoid == [3,1,2]:
        for i in xrange(1, len(list(elt))):
            if elt[i] > extreme:
                targetPermutation.append(elt[i])
                extreme = elt[i]
            else:
                targetPermutation.append(None)
                nonMinima.append(elt[i])
        nonMinima.sort()
        if avoid == [3,2,1]:
            nonMinima.reverse()

    for i in xrange(1, len(list(elt))):
        if targetPermutation[i] is None:
            targetPermutation[i] = nonMinima.pop()
    return Permutations()(targetPermutation)