permutations
permutations(n)
permutations(n, k)
Compute the number of permutations of n items taken k at a time
Try it yourself:
$1 | permutations(5)
| |
$2 | permutations(5, 3)
|
See also:
All functions