Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/semibran/delannoy

:chart_with_upwards_trend: Calculate Delannoy numbers
https://github.com/semibran/delannoy

combinatorics delannoy math numbers

Last synced: about 1 month ago
JSON representation

:chart_with_upwards_trend: Calculate Delannoy numbers

Awesome Lists containing this project

README

        

# delannoy
![paths from (0, 0) to (m, n)](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e7/Delannoy3x3.svg/500px-Delannoy3x3.svg.png)

A small function for calculating [Delannoy numbers](https://en.wikipedia.org/wiki/Delannoy_number).

## usage
[![NPM](https://nodei.co/npm/delannoy.png?mini)](https://www.npmjs.com/package/delannoy)
```js
> const delannoy = require('delannoy')
> delannoy(3, 3)
63
```

## see also
- [`kchapelier/von-neumann`](https://github.com/kchapelier/von-neumann) - find the number of cells in an `m`-dimensional von Neumann neighborhood of range `n`
- [`semibran/motzkin`](https://github.com/semibran/motzkin) - calculate Motzkin numbers
- [`semibran/narayana`](https://github.com/semibran/narayana) - calculate Narayana numbers

## license
[MIT](https://opensource.org/licenses/MIT) © [Brandon Semilla](https://git.io/semibran)