Vocabularymath.
combinatoricsInputsn | a non-negative integer |
k | a non-negative integer |
OutputsWord descriptionOutputs the total number of unique permutations of size
k (order does matter) that can be taken from a set of size
n.
ExamplesUSING: math.combinatorics prettyprint ;
10 4 nPk .
5040
Definition