powered by
This function generates every permutation of the first n natural numbers.
permuteN(n)
integer, the first n natural numbers one wishes to permute.
a list of all the permutations of the first n natural numbers.