permutations

permutations(n)

permutations(n, k)

Compute the number of permutations of n items taken k at a time

Try it yourself:

All functions