Maths Olympiad Prep

Library / /1 of 3

Combinatorics Difficulty 9.0 IMO level Prove it Vietnam

Consider a positive integer mm and a rectangle board of size m×2018m \times 2018 which consists of mm rows and 20182018 columns. We write 00 or 11 into some cells of the board (only one number in a cell) and the rest are left empty. The board is complete if for an arbitrary binary sequence SS of length 20182018, we can always choose a row of the board to write some more 00s, 11s so that 20182018 numbers on that row (without any change in order) form the sequence SS (in case the board already had a row which is SS, it is also complete). The board is minimal if it is complete and if we omit any row in the board, it is no longer complete.

a. If 0k20180 \le k \le 2018, prove that there exists a minimal 2k×20182^k \times 2018 board such that there are exactly kk columns, each of which consists of both 00 and 11 (there are possibly some empty cells on those columns).

b. A minimal m×2018m \times 2018 board which has exactly kk columns, each of which consists of both 00 and 11, is given. Prove that m2km \le 2^k.

Solution

a.
First, consider an empty rectangle board of size 2k×20182^k \times 2018 and 2k2^k binary sequences of length kk. We write those sequences to the left of the board so that each row consists of a sequence. Thus, the rest to the right of the board are 2018k2018 - k empty columns. It is obvious that each of the first kk columns of the board (counting from the left) has exactly 2k12^{k-1} 00s and 2k12^{k-1} 11s. This board satisfies the given condition. We will prove that it is minimal.

Figure 1

For an arbitrary binary sequence s=a1a2a2018s = a_1a_2\dots a_{2018}, we consider its subsequence s=a1a2aks' = a_1a_2\dots a_k. It is clear that ss' appears at the beginning of some row in the board, so if we continue writing ak+1,ak+2,,a2018a_{k+1}, a_{k+2}, \dots, a_{2018} into the empty cells on that row, we will get ss. Furthermore, there is exactly one row that contains ss', so if we omit that row, we cannot form ss from any other row. Therefore, the above board is minimal.

b.
Suppose that each of the first kk columns of the board consists of both 00 and 11. We will prove the following important remark.

Remark. All the cells in the last 2018k2018 - k columns (in other words, 2018k2018 - k columns to the right) of the board are empty.

Proof. Consider an arbitrary binary sequence ss of length kk and suppose AsA_s be the set of rows with the property: the first kk cells of each row (counting from the left) form ss. We will prove that there exists an element in AsA_s of which all last 2018k2018 - k cells are empty.

Consider the (k+1)(k + 1)-th cell of each row in AsA_s. It is clear that those cells belong to the (k+1)(k + 1)-th column of the board which do not simultaneously have 00 and 11.

If no cell of this column is empty, we can suppose that all numbers in the column are 00s. Then the binary sequence of form ss concatenation to 11 cannot be formed by any row, which contradicts the complete property of the board. Thus, there exists a subset AA' of AA such that the (k+1)(k + 1)-th cell of each row in AA' is empty.

We continue considering the (k+2)(k + 2)-th cell and we can similarly prove that there exists a subset AsA_s'' of AsA_s' such that the (k+2)(k + 2)-th cell of each row in AsA_s'' is empty. Following the same pattern to the last column, we will have a row of which all cells from the (k+1)(k + 1)-th position to the last position are empty.

Therefore, for any binary sequence ss of length kk, we can always find a row of which 2018k2018 - k last cells are empty. Note that these rows are not necessarily distinct since a row can form many binary sequences. Let AA be the set of all such rows.

By the definition of AA, it is clear that any binary sequence of length 20182018 can be formed by an element of AA. It is also obvious that every row in the board belongs to AA, otherwise we can omit that row and the board is still complete, which contradicts the minimal property of the board. Thus AA is also the set of all rows in the board, which implies the last 2018k2018 - k columns of the board are empty. The remark is proved.

Since the sub-board formed by the last 2018k2018 - k columns is totally empty, it can represent any binary sequence of length 2018k2018 - k. Moreover, the original board is minimal which implies that the sub-board formed by the first kk columns is also minimal.

Erasing all 2018k2018 - k columns, the rest is a sub-board of size m×km \times k. We number the row from 11 to mm (from top to bottom) and let AiA_i (i=1,2,,mi = 1, 2, \dots, m) be the set of all binary sequences of length kk that can be formed by the ii-th row.

Since the original board is minimal with respect to binary sequences of length 20182018, it follows that the above m×km \times k sub-board is also minimal with respect to the binary sequences of length kk. Set B=A1A2AmB = A_1 \cup A_2 \cup \dots \cup A_m, it is clear that B=2k|B| = 2^k (since the sub-board can generate any binary sequence of length kk).

For every ii (i=1,2,,mi = 1, 2, \dots, m), there exists a binary sequence of length kk generated by the ii-th row, otherwise we can omit the ii-th row and the remaining rows can also generate all binary sequences of length kk, which contradicts the minimal property of the sub-board. This means for every ii, there exists a binary sequence aia_i such that aiAiBa_i \in A_i \subset B and aiAja_i \notin A_j for any jij \neq i. This implies Bm|B| \ge m.

Combining all above arguments, we have m2km \le 2^k, which is our desired conclusion. ■

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.