in reply to Re: Combinatorics problem.
in thread Combinatorics problem. (Updated with more info.)

Oops, didn't notice you wanted to generate the combinations themselves too. I'll do it a bit later.