Vocabularymath.combinatoricsInputs and outputs| n | a non-negative integer |
| k | a non-negative integer |
| nCk | an integer |
Word descriptionOutputs the total number of unique combinations of size
k (order does not matter) that can be taken from a set of size
n. Commonly written as "n choose k".
ExamplesUSING: math.combinatorics prettyprint ;
10 4 nCk .
210
Definition