Combinatorial
Combinatorial functions.
Functions
All functions return an integer value.
binomial
The function binomial returns binomial coefficients.
- service url:
- http://nzmath-json.appspot.com/combinatorial/binomial/n/m/
factorial
The function factorial returns factorial of parameter n, i.e.,
the product of 1,2,3,...,n.
- service url:
- http://nzmath-json.appspot.com/combinatorial/factorial/n/
fallingfactorial
The function fallingfactorial returns the falling factorial;
n to the m falling, i.e. n(n-1)..(n-m+1).
- service url:
- http://nzmath-json.appspot.com/combinatorial/fallingfactorial/n/m/
risingfactorial
The function risingfactorial returns the rising factorial;
n to the m rising, i.e. n(n+1)..(n+m-1).
- service url:
- http://nzmath-json.appspot.com/combinatorial/risingfactorial/n/m/
catalan
The function catalan returns the Catalan number for n.
- service url:
- http://nzmath-json.appspot.com/combinatorial/catalan/n/
euler
The function euler returns the Euler number for n.
- service url:
- http://nzmath-json.appspot.com/combinatorial/euler/n/
stirling1
The function stirling1 returns the Stirling number of the first kind.
- service url:
- http://nzmath-json.appspot.com/combinatorial/stirling1/n/m/
stirling2
The function stirling2 returns the Stirling number of the second kind.
- service url:
- http://nzmath-json.appspot.com/combinatorial/stirling2/n/m/
bell
The function bell returns the n-th Bell number.
- service url:
- http://nzmath-json.appspot.com/combinatorial/bell/n/
partition_number
The function partition_number returns the n-th partition number.
- service url:
- http://nzmath-json.appspot.com/combinatorial/partition_number/n/