motzkin
v0.1.1
Published
Calculate Motzkin numbers
Downloads
3
Maintainers
Readme
motzkin
A small function for calculating Motzkin numbers.
usage
> const motzkin = require('motzkin')
> motzkin(4)
9
> motzkin(-1)
NaN
see also
semibran/delannoy
- calculate Delannoy numberssemibran/narayana
- calculate Narayana numberssemibran/schroeder
- calculate Schröder numbers