This applet demonstrates, by way of a puzzle, that Sn, the group of permutations of n objects, is generated by (1 2) and (1 2 ... n).
Instructions:
- Choose the number of letters you wish to sort. For starters, try 5 or 6.
- Press the randomize button.
- Sort the red letters back into their original positions using the a ~ b button and the rotation button.