Olympiad Maths Prep

Track / Stage 7 / 130 of 300 #1530 of 2000

Problem 1530

National olympiad second round; IMO P1/P4
Combinatorics Difficulty 7.2 Prove it Argentina_2017 · Argentina

Given is a table with nn rows and 1212 columns. Each cell in it contains a 00 or a 11. The table has the following properties:

a. Every two rows are different.

b. Every row contains exactly 44 entries equal to 11.

c. For every 33 rows there is a column that intersects them at three entries equal to 00.

Find the greatest nn for which such a table exists.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

The answer is (114)=330\binom{11}{4} = 330; here and later on (nk)\binom{n}{k} denotes a binomial coefficient.

Here is an example with n=330n=330. Form the (114)=330\binom{11}{4} = 330 (unordered) quadruples i,j,k,li, j, k, l with elements from {1,2,,11}\{1, 2, \dots, 11\}. To every such quadruple assign a row of length 1212 in which there are 11's exactly at positions i,j,k,li, j, k, l; the remaining entries are 00's. The obtained 330330 rows can be arranged to form a 330×12330 \times 12 table, which satisfies conditions (a) – (c) by construction. (For condition (c) note that column 1212 contains only zeros.)

Let us show that n330n \le 330 for each table TT with the given properties. For each row FF consider the 44 columns that intersect it at 11's. We say that they form an *admissible* quadruple QQ. It is uniquely determined by FF in view of condition (b). In addition different rows generate different admissible quadruples by condition (a). Hence there is a bijection between the rows and the admissible quadruples; in particular there are exactly nn admissible quadruples.

Let QQ be an admissible quadruple. Consider all partitions of its complementary 88 columns into 22 quadruples Q1Q_1 and Q2Q_2. Since 44 columns out of 88 can be chosen in (84)\binom{8}{4} ways, there are 12(84)\frac{1}{2} \binom{8}{4} such partitions. Clearly the quadruples Q1Q_1 and Q2Q_2 are different for different partitions. Observe also that in each partition at least one of Q1Q_1 and Q2Q_2 is non-admissible. Indeed if Q1Q_1 and Q2Q_2 are admissible then no column intersects their respective rows at 33 zeros, which contradicts condition (c). Hence the specified 12(84)\frac{1}{2} \binom{8}{4} partitions generate at least 12(84)\frac{1}{2} \binom{8}{4} non-admissible quadruples associated to the initial admissible quadruple QQ. Because there are nn admissible quadruples, this argument yields a list of l12(84)nl \ge \frac{1}{2} \binom{8}{4} n non-admissible quadruples. We are about to see that the repetitions in it are not too numerous.

Each non-admissible quadruple QQ' on the list occurs in it as many times as there are admissible quadruples QQ that generate QQ' in the way explained above. Every such QQ occupies 44 columns among the 88 complementary columns of QQ', which gives at most (84)\binom{8}{4} possibilities for QQ. Consequently every non-admissible quadruple on the list occurs at most (84)\binom{8}{4} times in it.

Given the length l12(84)nl \ge \frac{1}{2} \binom{8}{4} n of the list and the maximum number (84)\binom{8}{4} of repetitions of an item, we find at least n2\frac{n}{2} different non-admissible quadruples in TT. The total number of quadruples of columns is (124)=495\binom{12}{4} = 495. Exactly nn of them are admissible and 495n495-n are non-admissible. Hence 495nn2495-n \ge \frac{n}{2}, which yields the desired n330n \le 330.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.