Formula for unique combinations

Maybe this will help? Paul and I played with something that sounds somewhat similar:

1 Like