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


Math Forum
»
Discussions
»
sci.math.*
»
sci.math
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
Simple algorithm, to produce permutations of n
Replies:
19
Last Post:
Jun 14, 2013 4:34 PM



KBH
Posts:
200
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



