Browse · MathNet
PrintVN IMO Booklet
Vietnam counting and probability
Problem
Consider a positive integer and a rectangle board of size which consists of rows and columns. We write or 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 of length , we can always choose a row of the board to write some more s, s so that numbers on that row (without any change in order) form the sequence (in case the board already had a row which is , 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 , prove that there exists a minimal board such that there are exactly columns, each of which consists of both and (there are possibly some empty cells on those columns).
b. A minimal board which has exactly columns, each of which consists of both and , is given. Prove that .

a. If , prove that there exists a minimal board such that there are exactly columns, each of which consists of both and (there are possibly some empty cells on those columns).
b. A minimal board which has exactly columns, each of which consists of both and , is given. Prove that .
Solution
a. First, consider an empty rectangle board of size and binary sequences of length . 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 empty columns. It is obvious that each of the first columns of the board (counting from the left) has exactly s and s. This board satisfies the given condition. We will prove that it is minimal.
For an arbitrary binary sequence , we consider its subsequence . It is clear that appears at the beginning of some row in the board, so if we continue writing into the empty cells on that row, we will get . Furthermore, there is exactly one row that contains , so if we omit that row, we cannot form from any other row. Therefore, the above board is minimal.
b. Suppose that each of the first columns of the board consists of both and . We will prove the following important remark.
Remark. All the cells in the last columns (in other words, columns to the right) of the board are empty.
Proof. Consider an arbitrary binary sequence of length and suppose be the set of rows with the property: the first cells of each row (counting from the left) form . We will prove that there exists an element in of which all last cells are empty.
Consider the -th cell of each row in . It is clear that those cells belong to the -th column of the board which do not simultaneously have and .
If no cell of this column is empty, we can suppose that all numbers in the column are s. Then the binary sequence of form concatenation to cannot be formed by any row, which contradicts the complete property of the board. Thus, there exists a subset of such that the -th cell of each row in is empty.
We continue considering the -th cell and we can similarly prove that there exists a subset of such that the -th cell of each row in is empty. Following the same pattern to the last column, we will have a row of which all cells from the -th position to the last position are empty.
Therefore, for any binary sequence of length , we can always find a row of which last cells are empty. Note that these rows are not necessarily distinct since a row can form many binary sequences. Let be the set of all such rows.
By the definition of , it is clear that any binary sequence of length can be formed by an element of . It is also obvious that every row in the board belongs to , otherwise we can omit that row and the board is still complete, which contradicts the minimal property of the board. Thus is also the set of all rows in the board, which implies the last columns of the board are empty. The remark is proved.
Since the sub-board formed by the last columns is totally empty, it can represent any binary sequence of length . Moreover, the original board is minimal which implies that the sub-board formed by the first columns is also minimal.
Erasing all columns, the rest is a sub-board of size . We number the row from to (from top to bottom) and let () be the set of all binary sequences of length that can be formed by the -th row.
Since the original board is minimal with respect to binary sequences of length , it follows that the above sub-board is also minimal with respect to the binary sequences of length . Set , it is clear that (since the sub-board can generate any binary sequence of length ).
For every (), there exists a binary sequence of length generated by the -th row, otherwise we can omit the -th row and the remaining rows can also generate all binary sequences of length , which contradicts the minimal property of the sub-board. This means for every , there exists a binary sequence such that and for any . This implies .
Combining all above arguments, we have , which is our desired conclusion. ■
For an arbitrary binary sequence , we consider its subsequence . It is clear that appears at the beginning of some row in the board, so if we continue writing into the empty cells on that row, we will get . Furthermore, there is exactly one row that contains , so if we omit that row, we cannot form from any other row. Therefore, the above board is minimal.
b. Suppose that each of the first columns of the board consists of both and . We will prove the following important remark.
Remark. All the cells in the last columns (in other words, columns to the right) of the board are empty.
Proof. Consider an arbitrary binary sequence of length and suppose be the set of rows with the property: the first cells of each row (counting from the left) form . We will prove that there exists an element in of which all last cells are empty.
Consider the -th cell of each row in . It is clear that those cells belong to the -th column of the board which do not simultaneously have and .
If no cell of this column is empty, we can suppose that all numbers in the column are s. Then the binary sequence of form concatenation to cannot be formed by any row, which contradicts the complete property of the board. Thus, there exists a subset of such that the -th cell of each row in is empty.
We continue considering the -th cell and we can similarly prove that there exists a subset of such that the -th cell of each row in is empty. Following the same pattern to the last column, we will have a row of which all cells from the -th position to the last position are empty.
Therefore, for any binary sequence of length , we can always find a row of which last cells are empty. Note that these rows are not necessarily distinct since a row can form many binary sequences. Let be the set of all such rows.
By the definition of , it is clear that any binary sequence of length can be formed by an element of . It is also obvious that every row in the board belongs to , otherwise we can omit that row and the board is still complete, which contradicts the minimal property of the board. Thus is also the set of all rows in the board, which implies the last columns of the board are empty. The remark is proved.
Since the sub-board formed by the last columns is totally empty, it can represent any binary sequence of length . Moreover, the original board is minimal which implies that the sub-board formed by the first columns is also minimal.
Erasing all columns, the rest is a sub-board of size . We number the row from to (from top to bottom) and let () be the set of all binary sequences of length that can be formed by the -th row.
Since the original board is minimal with respect to binary sequences of length , it follows that the above sub-board is also minimal with respect to the binary sequences of length . Set , it is clear that (since the sub-board can generate any binary sequence of length ).
For every (), there exists a binary sequence of length generated by the -th row, otherwise we can omit the -th row and the remaining rows can also generate all binary sequences of length , which contradicts the minimal property of the sub-board. This means for every , there exists a binary sequence such that and for any . This implies .
Combining all above arguments, we have , which is our desired conclusion. ■
Techniques
Recursion, bijectionColoring schemes, extremal arguments