nCr Function
|
This command is autocompleted in GeoGebra input line as command |
- nCr( <Number n>, <Number r> )
-
Calculates the binomial coefficient \( n \choose r \), i.e. it counts the number of ways to choose r objects out of n without repetitions (combinations). As an alias,
BinomialCoefficient(n, r)can be also used.
nCr(5, 3) yields 10.
|
In the |
nCr(n, 3) yields \(\frac{n^3 - 3 n^2 + 2 n}{6}\).
|
See also nPr function. |