0.1.0 • Published 7 years ago

narayana v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

narayana

1,6,6,1 noncrossing partitions with 1,2,3,4 blocks of a 4-element set

A small function for calculating Narayana numbers.

usage

NPM

> const narayana = require('narayana')
> var n = 4
> [1, 2, 3, 4].map(k => narayana(n, k))
[ 1, 6, 6, 1 ]

see also

license

MIT © Brandon Semilla

0.1.0

7 years ago