Hello all,

I have a list of 12 numbers 1-12. Im trying to make pairs from the list so for example:

1+2

3+4

5+6

7+8

9+10

11+12

This would one set. Im trying to find all the unique sets possible (and visibly show the match ups in a grasshopper panel - I dont need to know the mathematical total of unique sets as a list length).

Likewise, the order of pairs within the set does not matter. For example:

2+1

3+4

5+6

7+8

9+10

11+12

or

3+4

5+6

1+2

7+8

9+10

11+12

Neither of these sets would count as novel sets: they would both be identical to the first example. For this problem, 1 has been paired with 2 already. It doesnt make it a new set to change the order of the pair or change the pairâ€™s order in the set.

Is there a way to output a list of all the unique sets possible?

Thanks you,

B