combin
Number of unordered selections (combinations) of k from n.
Syntax
Section titled “Syntax”v = combin(number, number_chosen)Description
Section titled “Description”Returns n! / (k! · (n-k)!) — the binomial coefficient. Order doesn’t matter and items don’t repeat.
Examples
Section titled “Examples”combin(8, 2) % 28combin(52, 5) % 2598960 (poker hands)