Combinatorics of typescript, non-recursive implementation, and efficient and convenient
npm install combinatorics-ts