I was recently asked the following seemingly simple question: What is the best way to partition a team of 12 people into groups of three, where the process is to be repeated 6 times? The solution should minimize the number of times two people are put together in the same team. The total number of combinations is given by,
nCr = 12!/(3! * (12-3)!) = 220
so finding a solution by hand is not really a practical proposition. The most practical (and simplistic) solution that I found was to shuffle the 12 names and select the groups from the 1st, 2nd, 3rd and 4th triples. Then run the process 6 times. This did solve the problem, but there were too many situations where two people were put together in the same group, after consecutive runs. A general solution (groups of r from n) would be nice.
I have also posted this on "Computational Science" but they feel it belongs elsewhere. I have looked at link1 and link2 but these solutions do not seem to solve my particular problem.