Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


KBH
Posts:
164
Registered:
3/14/10


Re: Simple algorithm, to produce permutations of n
Posted:
Jun 14, 2013 7:22 AM


Transpose columns and read rows:
1234 2341 3412 4123
2134 3241 4312 1423
2314 3421 4132 1243
2341 3412 4123 1234 (Discarded set)
2431 3142 4213 1324
4231 1342 2413 3124
4321 1432 2143 3214



