binomial.js is a simple module for creating binomial coefficients. It includes memoization by default.
Usage with memoization:
var n_choose_k = binomial.get(n, k);
Usage without memoization:
var n_choose_k = binomial.get_no_memo(n, k);
Selectively mirror the npm registry inside your firewall. Filter packages based on security, licensing, code quality and more. Build awesome stuff faster. Try npm Enterprise for free…
how? learn more