PERMUT

Returns the number of permutations of n unlike things taken k at a time.

Syntax:

PERMUT(n:number, k:number)

This function yields the number of permutations of n unlike things taken k at a time.

The formula used is:

nPk = n! ÷ (n - k)!

For very large n this is an approximation achieved using logarithms.