PERMUTATION (Algorithm 317 [G6])
CACM November, 1967
Robinson, C. L.
