1. Permutations and combinations and their enumeration - This Javascript program is taken from the website CCCC Collatz Conjecture Calculation Center by Klaas Ijntema