Combinatorics functions on built-in integers