Browse · MathNet
PrintSELECTION TESTS FOR THE 2019 BMO AND IMO
Romania 2019 counting and probability
Problem
Given an integer , colour red exactly cells of an infinite sheet of grid paper. A rectangular grid array is called special if it contains at least two red opposite corner cells; single red cells and 1-row or 1-column grid arrays whose end-cells are both red are special. Given a configuration of exactly red cells, let be the largest number of red cells a special rectangular grid array may contain. Determine the least value may take on over all possible configurations of exactly red cells.
Based on Mathematical Olympiad Rioplatense, 2010, Level 2
Based on Mathematical Olympiad Rioplatense, 2010, Level 2
Solution
The required minimum is and is achieved by the configuration described in the second block of the proof.
Counting multiplicities, the cells and are both covered by three of these special rectangular grid arrays, the cells and are both covered by two, and all other red cells are covered by at least one. Letting denote the number of red cells in , it follows that . Consequently, .
We now describe a configuration of exactly red cells where . Write , so for some positive integer , and .
Fix an integer , let be a grid square, and subdivide into nine grid subsquares.
Let be the lower-left corner grid subsquare of . Colour red the first cells along the diagonal upward from the lower-right corner cell of .
The ‘min’ and ‘max’ in the next four paragraphs account for the first few cases where . Had we assumed , it would then have followed that , and ‘min’ and ‘max’ would have been superfluous.
Next, let be the upper-left corner grid subsquare of . Colour red the first cells along the diagonal upward from the lower-left corner cell of .
Let further be the upper-right corner grid subsquare of . Colour red the first cells along the diagonal downward from the upper-left corner cell of .
Complete the corner tour by letting be the lower-right corner grid subsquare of . Colour red the first cells along the diagonal downward from the upper-right corner cell of .
Finally, let be the central grid subsquare of , and colour red cells of ; their exact location is irrelevant.
No other cell whatsoever is coloured red, and it is a routine exercise to check that exactly cells of the grid paper have been coloured red. Notice that, for each pair of 'adjacent' corner grid subsquares, and , and , and , and and , there are both horizontal and vertical grid lines separating the strings of red cells they contain.
To complete the argument, we show that, if and are red cells in this configuration, then . This is clearly the case if and both lie in one of , , , or , for each of these squares contains at most red cells.
If and lie in 'adjacent' corner subsquares of , then the red cells in come from those subsquares alone. In addition, the string of red cells in one of those subsquares has exactly one cell in , namely, or . Consequently, . Incidentally, notice that equality holds if, for instance, is the lower-right corner cell of , and is any red cell in ; since , there is at least one such.
If and lie in 'opposite' corner subsquares of , then they are the only red cells contains from those subsquares. No red cell in the other two 'opposite' corner subsquares of lies in , and the other red cells in all come from which contains at most such. Consequently, .
Finally, if one of , lies in , and the other lies in one of the corner sub-squares of , then the latter cell is the only red cell in outside . Consequently, . This ends the proof.
Counting multiplicities, the cells and are both covered by three of these special rectangular grid arrays, the cells and are both covered by two, and all other red cells are covered by at least one. Letting denote the number of red cells in , it follows that . Consequently, .
We now describe a configuration of exactly red cells where . Write , so for some positive integer , and .
Fix an integer , let be a grid square, and subdivide into nine grid subsquares.
Let be the lower-left corner grid subsquare of . Colour red the first cells along the diagonal upward from the lower-right corner cell of .
The ‘min’ and ‘max’ in the next four paragraphs account for the first few cases where . Had we assumed , it would then have followed that , and ‘min’ and ‘max’ would have been superfluous.
Next, let be the upper-left corner grid subsquare of . Colour red the first cells along the diagonal upward from the lower-left corner cell of .
Let further be the upper-right corner grid subsquare of . Colour red the first cells along the diagonal downward from the upper-left corner cell of .
Complete the corner tour by letting be the lower-right corner grid subsquare of . Colour red the first cells along the diagonal downward from the upper-right corner cell of .
Finally, let be the central grid subsquare of , and colour red cells of ; their exact location is irrelevant.
No other cell whatsoever is coloured red, and it is a routine exercise to check that exactly cells of the grid paper have been coloured red. Notice that, for each pair of 'adjacent' corner grid subsquares, and , and , and , and and , there are both horizontal and vertical grid lines separating the strings of red cells they contain.
To complete the argument, we show that, if and are red cells in this configuration, then . This is clearly the case if and both lie in one of , , , or , for each of these squares contains at most red cells.
If and lie in 'adjacent' corner subsquares of , then the red cells in come from those subsquares alone. In addition, the string of red cells in one of those subsquares has exactly one cell in , namely, or . Consequently, . Incidentally, notice that equality holds if, for instance, is the lower-right corner cell of , and is any red cell in ; since , there is at least one such.
If and lie in 'opposite' corner subsquares of , then they are the only red cells contains from those subsquares. No red cell in the other two 'opposite' corner subsquares of lies in , and the other red cells in all come from which contains at most such. Consequently, .
Finally, if one of , lies in , and the other lies in one of the corner sub-squares of , then the latter cell is the only red cell in outside . Consequently, . This ends the proof.
Final answer
1 + ceil((n+1)/5)
Techniques
Coloring schemes, extremal argumentsCounting two ways