Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/semibran/delannoy
- Owner: semibran
- License: mit
- Created: 2017-06-27T17:39:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-27T19:59:45.000Z (over 7 years ago)
- Last Synced: 2024-10-26T12:32:09.174Z (3 months ago)
- Topics: combinatorics, delannoy, math, numbers
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
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)