At a mathematical competition students work on 6 problems each one with three possible answers. After the competition, the Jury found that for every two students the number of the problems for which these students have the same answers is 0 or 2. Find the maximum possible value of .
Solution
The maximum possible value of is .
We first show that is impossible. Let , , be the answers in each problem. For , by the pigeonhole principle, we may assume students answer in problem 1. Then by the pigeonhole principle, we may assume students answer in problem 2. These 2 students must have different answers to the remaining problems. Thus, we may assume their answers are
AAAAAA, ABBBBB, AACCCC.
Consider another student choosing answer in problem 1. By the pigeonhole principle, this student chooses the same choice in of the problems among the remaining problems. This leads to a contradiction, as it is not possible to construct such a set of students.
Therefore, we must have .
We now provide an example for . The following lists out the answers given by 18 students:
AAAAAA AABBCC ABCACB ACBCAB ABACBC ACCBBA
BBBBBB BBCCAA BCABAC BACABC BCBACA BAACCB
CCCCCC CCAABB CABCBA CBABCA CACBAB CBBAAC
It is routine to check that any two students in the same column share 0 same answer, while any two students not in the same column share 2 same answers. (Note that there is a cyclic symmetry in each column.)