Example: set of 6 objects =( a, b, c, d, e, f) 2 possible pair coming from 4 objects from the set: ab, ec . No repetitions allowed. ab and ba have to be considered as different pairs
Thanks in advance! regards lorenzo
Thankyou Henrik. But I expected only 360 pairs. Your computation gives me too many pairs. bye lorenzo
Hi Lorenzo,
my code gives exactly 180 pairs (of pairs)! That is because e.g. {{a,b},{c,d}} and {{c,d},{a,b}} are considered identical - in contrast to Davids solution. It depends on what you want.
Cheers Henrik
Thanks a lot! regards lorenzo