Problem:
A card game is played by five persons. In a group of 25 persons all like to play that game. Find the maximum possible number of games which can be played if no two players are allowed to play simultaneously more than once.
Solution
Solution:
The number of all pairs of players is and after each game 10 of them become impossible. Therefore at most games are possible.
We shall prove that 30 games are possible. We denote the pairs of players by , where are integers (in other words, we put them in a table ).
In the game , , we put the five pairs with (i.e. those from the -th row of the table). In the game , , , we set the pair such that is congruent to modulo 5. It is clear that for any fixed values of there exists a unique such that . Thus we have one pair in each row, i.e. the pairs are five and they have not played in the first 5 games.
For every two pairs and , , the numbers , , give different remainders modulo 5. Hence there exists a unique such that . Equivalently, and have the same remainder modulo 5 and the numbers and determine the unique game in which the pairs and participate.