Digit utilities
Combinatorics