BinomialCoefficient Command
- BinomialCoefficient( <Number>, <Number> )
-
Calculates the binomial coefficient \( n \choose r \). The first Number represents all elements n and the second Number represents the selected elements r.
BinomialCoefficient(5, 3)
yields 10.
|
BinomialCoefficient(n, 3)
yields \(\frac{n^\{3} - 3 n^\{2} + 2 n}\{6}\).
See also NPr command. |