Binomial
Binomial(n, k)returns the binomial coefficient of the 2 integers
nandk
For negative integers k this function will return 0 no matter what value is the other argument n.
See:
- Wikipedia - Binomial coefficient
- John D. Cook - Binomial coefficients definition
- Kronenburg 2011 - The Binomial Coefficient for Negative Arguments
- Fungrim - Factorials and binomial coefficients
Examples
>> Binomial(4,2)6
>> Binomial(5, 3)10Implementation status
- ☑ - partially implemented