Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO Team Selection Test 3

Netherlands counting and probability

Problem

Let and be positive integers with even. Jetze is going to cover an -board (with rows and columns) with domino tiles, in such a way that every domino tile covers exactly two squares, domino tiles do not protrude out of the board or overlap one another, and every square is covered by a domino tile. Merlijn then is going to colour all domino tiles on the board either red or blue. Determine the smallest non-negative integer (depending on and ) such that Merlijn can always make sure that in each row, the number of squares covered by a red domino tile and the number of squares covered by a blue domino tile differ by at most , no matter in what way Jetze covers the board.
Solution
First suppose that is odd. Then we must have , as the difference must be odd. We show that is always possible. Colour the vertical domino tiles in the odd numbered columns red and the vertical domino tiles in the even numbered columns blue. As in every row, every horizontal domino tile covers a square in an even numbered column and one in an odd numbered column, every row contains one more square covered by a red domino tile than squares covered by a blue domino tile. Now colour the horizontal domino tile in each row alternatingly blue and red (starting with blue). If the number of horizontal domino tiles is even, then at the end, the number of red squares will be one more than that of blue squares; if the number of horizontal domino tiles is odd, then at the end, the number of blue squares will be one more than that of red squares. The difference will therefore always be equal to 1.

Now suppose that . Then we have if Jetze places every domino tile horizontally; then every row contains an odd number of horizontal domino tiles. We show that is always possible. Use the same strategy as in the odd case. After colouring the vertical domino tiles, the numbers of red and blue squares are equal. If we alternatingly colour the horizontal domino tiles in each row blue and red again, we see that in the end, in every row the difference between the number of red and blue squares is 0 or 2.

Finally, suppose that . We show that is always possible. Number the rows from top to bottom from 1 up to , and let be the number of vertical domino tiles of which the top square is in row . By induction on , we easily show that is even, using the fact that a horizontal domino tile always covers an even number of squares in a row. We now colour the vertical domino tiles in rows and as follows: if , we colour half of them red, and the other half blue, and if we colour two more domino tiles red than we colour blue if is even, and we colour two more domino tiles blue than we colour red if is odd. We show that we can now colour the horizontal domino tiles in each row in such a way that every row has the same number of red and blue squares. If , then vertical domino tiles in row cover the same number of red squares as blue squares. Moreover, the number of horizontal domino tiles in row is even, so we can simply colour half of them red and half of them blue. If , then vertical domino tiles in row again cover the same number of red squares as blue squares, since of and , one is odd and one is even. Again, the number of horizontal domino tiles in row is even, so we can again simply colour half of them red and half of them blue. If , then the difference in the number of squares covered by red vertical domino tiles and blue vertical ones is equal to 2. The number of horizontal domino tiles is odd, so we can colour those in such a way that in the end, the number of red and blue squares are equal.

Hence the minimal values for are: if is odd, if , and if .
Final answer
V = 1 if n is odd; V = 2 if n ≡ 2 (mod 4); V = 0 if n ≡ 0 (mod 4).

Techniques

Coloring schemes, extremal argumentsInvariants / monovariantsInduction / smoothing