|
EXAMPLE
|
Some permutations of 1-8 with minimum displacement 2:
(7,4,5,8,3,2,1,6) (8,6,5,7,1,3,4,2) (8,4,5,6,7,2,1,3) (3,7,1,6,8,4,2,5)
(8,4,6,2,7,3,5,1) (6,5,7,8,3,2,1,4) (3,7,6,8,2,1,5,4) (5,4,6,7,8,1,2,3)
(4,8,6,7,2,1,3,5) (6,7,5,8,2,1,4,3) (7,5,6,1,8,3,2,4) (3,8,5,2,7,1,4,6)
(4,7,1,2,8,3,5,6) (7,4,5,1,8,2,3,6) (7,6,5,2,8,3,4,1) (3,5,7,8,1,4,2,6)
(5,6,7,8,2,4,3,1) (7,5,6,8,2,1,3,4) (5,8,6,7,2,3,1,4) (3,6,8,1,7,4,2,5)
|