Browse · MathNet
PrintBalkan Mathematical Olympiad
counting and probability
Problem
The cells of an chessboard are coloured in several colours so that no square contains four cells of the same colour. A proper path of length is a sequence of distinct cells in which the cells and have a common side and are coloured in different colours for all . Show that there exists a proper path of length .
Solution
(1) Consider the graph whose vertices are the board's cells and whose edges are all pairs of neighbouring (i.e., having a common side) cells coloured in different colours. We wish to show that contains a simple path of length at least .
(2) On a new chessboard , colour each connected component in in its own colour. (So that two cells and are coloured in the same colour exactly when there is a path from to in .) Each pair of neighbouring cells which are coloured in different colours in would have to be coloured in the same colour in the original board – otherwise, a path in of length 1 would exist between them. Therefore, does not contain a square whose cells are coloured in more than two colours or a square whose cells are coloured in a checkerboard pattern: otherwise, the corresponding square in would be monochromatic. From now on, we will refer to 's colouring only.
(3) Label each cell in with the coordinates of its center so that the bottom left and the top right cells are labeled and , respectively. In , there is at least one pair of boundary cells of the same colour. (Otherwise, all squares which contain a corner cell would contain more than two colours.) Of all such pairs, let and be the one which maximizes . We will show that . The claim would then follow because any path in from to would visit at least distinct cells.
(4) Suppose, by way of contradiction, that . If and lie in two opposite edge rows or two opposite edge columns, then we would have , a contradiction. Without loss of generality, then, and lie in the union of the leftmost column and the bottommost row. Consider the sequence of boundary cells, and let and be the positions of and in this sequence so that , and .
(5) Suppose that and are both green. It is easy to see that, if there was a green boundary cell which is not one of , then we would have either or , which is a contradiction. Therefore, all green boundary cells are contained in the set .
(6) Suppose that is white. Let and be the common vertices of the cells and so that lies on the boundary of the board. Let be a sequence of cell vertices such that, for all , is the common edge of a white cell and a green cell which lie to the left and to the right of the directed segment , respectively. We will refer to sequences of this type as border sequences.
(7) A border sequence does not repeat vertices. Indeed, we have , and if and for some , then the square of center would have to be coloured in a checkerboard pattern, a contradiction. Let, then, be the longest possible border sequence. If was not a boundary vertex, then the square of center would be coloured in white and green only, and in all permitted colourings at least one of the three vertices at a distance of 1 from could be added to the sequence: a contradiction. It follows that the sequence can only terminate in a boundary vertex and that the edge divides a green boundary cell and a white boundary cell . Since the broken line cannot intersect the all-green path in from to and a border sequence does not repeat vertices, the cell cannot be any of . By (5), then, and, therefore, .
(8) We have shown that the cells and are both white. Since , then, : a contradiction, as needed.
(2) On a new chessboard , colour each connected component in in its own colour. (So that two cells and are coloured in the same colour exactly when there is a path from to in .) Each pair of neighbouring cells which are coloured in different colours in would have to be coloured in the same colour in the original board – otherwise, a path in of length 1 would exist between them. Therefore, does not contain a square whose cells are coloured in more than two colours or a square whose cells are coloured in a checkerboard pattern: otherwise, the corresponding square in would be monochromatic. From now on, we will refer to 's colouring only.
(3) Label each cell in with the coordinates of its center so that the bottom left and the top right cells are labeled and , respectively. In , there is at least one pair of boundary cells of the same colour. (Otherwise, all squares which contain a corner cell would contain more than two colours.) Of all such pairs, let and be the one which maximizes . We will show that . The claim would then follow because any path in from to would visit at least distinct cells.
(4) Suppose, by way of contradiction, that . If and lie in two opposite edge rows or two opposite edge columns, then we would have , a contradiction. Without loss of generality, then, and lie in the union of the leftmost column and the bottommost row. Consider the sequence of boundary cells, and let and be the positions of and in this sequence so that , and .
(5) Suppose that and are both green. It is easy to see that, if there was a green boundary cell which is not one of , then we would have either or , which is a contradiction. Therefore, all green boundary cells are contained in the set .
(6) Suppose that is white. Let and be the common vertices of the cells and so that lies on the boundary of the board. Let be a sequence of cell vertices such that, for all , is the common edge of a white cell and a green cell which lie to the left and to the right of the directed segment , respectively. We will refer to sequences of this type as border sequences.
(7) A border sequence does not repeat vertices. Indeed, we have , and if and for some , then the square of center would have to be coloured in a checkerboard pattern, a contradiction. Let, then, be the longest possible border sequence. If was not a boundary vertex, then the square of center would be coloured in white and green only, and in all permitted colourings at least one of the three vertices at a distance of 1 from could be added to the sequence: a contradiction. It follows that the sequence can only terminate in a boundary vertex and that the edge divides a green boundary cell and a white boundary cell . Since the broken line cannot intersect the all-green path in from to and a border sequence does not repeat vertices, the cell cannot be any of . By (5), then, and, therefore, .
(8) We have shown that the cells and are both white. Since , then, : a contradiction, as needed.
Techniques
Coloring schemes, extremal argumentsGraph Theory