Adding an utility for combinatorics.