Maths Olympiad Prep

Library / /59 of 61

Combinatorics Difficulty 7.6 National olympiad, round 2 Prove it Belarus

A positive integer nn is fixed. Numbers 00 and 11 are placed in all cells (exactly one number in any cell) of a k×nk \times n table (kk is a number of the rows in the table, nn is a number of the columns in it). We call a table nice if the following property is fulfilled: for any partition of the set of the rows of the table into two nonempty subsets R1R_1 and R2R_2 there exists a nonempty set SS of the columns such that on the intersection of any row from R1R_1 with the columns from SS there are even number of 11's while on the intersection of any row from R2R_2 with the columns from SS there are odd number of 11's.
Find the greatest number of kk such that there exists at least one nice k×nk \times n table.

Solution

Answer: k=n+1k = n + 1.
In total there are 2k112^{k-1} - 1 ways to split the rows into two groups and 2n12^n - 1 ways to select some set of columns. Since there is at least one column set for any row split and the column set uniquely defines the row split, 2k112n12^{k-1} - 1 \le 2^n - 1, and therefore kn+1k \le n + 1. We will prove that for any nn there is a nice table (n+1)×n(n+1) \times n.

Consider a table in which in the ii-th row 11's are placed on the first i1i-1 positions and 00's are placed on the rest (in particular, in the first row are only zeros). Note that for any two consecutive rows aia_i and ai+1a_i + 1, the parity of the number of 11's on the intersection with some set of columns of these two rows is the same if and only if there is no ii-th column in this set. So, the presence or absence of ii-th column in the set uniquely determines whether aia_i and ai+1a_i + 1 belong to the same group or not.

Now for the given split of rows, select those and only those columns for which the row with the same number is in different group with the next row. The set of selected columns satisfies the condition, hence the table is nice.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

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