Nathaniel Johnston

]]>I don’t think there is such a requirement.

Think about it like this: Using all permutations of ABC you can make a superpermutation: ABCABACBA

Now instead of having A=1, B=2, C=3… you could pick any permutation of ABC and 123, for example A=2, B=1, C=3. All permutations will result in a different valid superpermutation. Those superpermutations are in essence the same, so it is probably common to turn them into the lexicographically smallest form.

]]>* Can be handled by my laptop.

]]>