[Math] How to form pairs in a group so that each element is coupled with each other only once

combinatoricsdiscrete mathematicsrecreational-mathematics

My question is derived from real life but I think it's a classic mathematical problem.

My uncle wants to organize a group activity with 12 people and wants to start by pairing each person with each other person so they can meet shortly. Everyone has to see every other person, but only once. His initial question was if there could be an easy rotation system to organize this (like putting everyone in two rows or a circle or something like that), which I couldn't find. But now I'm even struggling just to find a way that it can organized at all, by just writing down one example of each of the 11 'meeting rounds' with the numbers of the persons that have to meet in each round.

However I'm sure this is a standard mathematical question that has been discussed often before – can someone give me a solution? A not too complicated rotation system would be great, a way to write down the order in which it can be organized would be nice as well. Thanks!

Best Answer

There is an easy general scheduling algorithm for round-robin tournaments, indicated under the link.

To wit, have $6$ tables with a pair of opposite seats in a line. The first person at the first table stays seated all the time, the remaining seats are linked into a cycle of length $11$ by going along the remaining $5$ seats on the same end, and then in the oppositite order along the other end of the tables back, ending with the seat oppositie the fixed person before linking back to the second table. Now for each round just cycle the persons along those $11$ seats every time, for $11$ rounds in all. It is easy to see every other person is oppositie the fixed person once, and meets every other non-fixed person either while on one side of the table, or while on the other side of the tables, depending on parity.

0 1 2 3 4 5
B A 9 8 7 6

0 B 1 2 3 4
A 9 8 7 6 5

0 A B 1 2 3
9 8 7 6 5 4

0 9 A B 1 2
8 7 6 5 4 3

0 8 9 A B 1
7 6 5 4 3 2

0 7 8 9 A B
6 5 4 3 2 1

0 6 7 8 9 A
5 4 3 2 1 B

0 5 6 7 8 9
4 3 2 1 B A

0 4 5 6 7 8
3 2 1 B A 9

0 3 4 5 6 7
2 1 B A 9 8

0 2 3 4 5 6
1 B A 9 8 7

0 1 2 3 4 5
B A 9 8 7 6

0 B 1 2 3 4
A 9 8 7 6 5
Related Question