in reply to Re^2: Combinatorial problem
in thread Combinatorial problem

You are creating a lot of duplicates.
Yes, I know, but I had the feeling the OP wanted to keep the duplicates. Well, I still don't know what the OP really wanted, I just tried to offer something simpler.

Je suis Charlie.