Combinatorica`
Combinatorica`

RandomPermutation

RandomPermutation[n]

generates a random permutation of the first n natural numbers.

Details