bincoeff(N;K)
Returns the binomial coefficient of two given values.
Syntax
bincoeff(N;K)
Input
| Argument | Type | Description |
|---|---|---|
N |
integer or decimal | The total number of elements in the set |
K |
integer or decimal | The number of elements in a subset |
Return Value
Returns a decimal number corresponding to the binomial coefficient
N
choose K.Note: The result is identical to
combs(N;K).If N or K is N/A, the result is N/A.
Sample Usage
N |
K |
bincoeff(N;K) |
|---|---|---|
| 0 | 1 | NA |
| 3 | 2 | 3 |
| 6 | 3 | 20 |
| 7 | 4 | 35 |
| 8 | 8 | 1 |
| NA | 4 | NA |
| 6 | NA | NA |
