narayana
v0.1.0
Published
Calculate Narayana numbers
Downloads
2
Maintainers
Readme
narayana
A small function for calculating Narayana numbers.
usage
> const narayana = require('narayana')
> var n = 4
> [1, 2, 3, 4].map(k => narayana(n, k))
[ 1, 6, 6, 1 ]
see also
semibran/catalan
- calculate Catalan numberssemibran/delannoy
- calculate Delannoy numberssemibran/motzkin
- calculate Motzkin numberssemibran/schroeder
- calculate Schröder numbers