Combinatorics – Counting dice combinations using JavaScript · HackerTrans