Skip to main content
OlympiadHQ

Browse · MathNet

Print

Balkan Mathematical Olympiad

counting and probability

Problem

A closed, non-self-intersecting broken line is drawn over a chessboard in such a way that the set of 's vertices coincides with the set of the vertices of the board's squares and every edge in is a side of some board square. All board squares lying in the interior of are coloured in red. Prove that the number of neighbouring pairs of red squares in every row of the board is even.
Solution
Colour all board squares lying on the outside of in blue and introduce a Cartesian coordinate system such that the board's lower left and upper right corners have coordinates and , respectively. Add one more row, consisting of blue squares only, on top of the board: the lower left corners of the added squares will have coordinates for .

No four-square region can contain four squares of the same colour (for in this case the region's center would be a square's vertex in the original board which is not visited by ), nor four squares coloured in a checkerboard pattern (for in this case would intersect itself in the region's center). It follows, then, that every region contains either exactly one pair of horizontally adjacent red squares or exactly one pair of vertically adjacent blue ones. We will refer to neighbouring pairs of these two types as "special" pairs.

Let us fix and count the total number of special pairs contained in the regions of centers for . Each one of these regions contains exactly one special pair; each blue special pair is counted exactly twice (a blue special pair cannot lie in the leftmost or rightmost columns for in this case a square vertex in the original board will not be visited by ); and each red special pair is counted exactly once. Since the number of regions is even and each blue special pair is counted an even number of times, it follows that the total number of red special pairs in rows and is even.

The numbers of neighbouring pairs of red squares in all rows must have the same parity, then. The added all-blue top row contains zero neighbouring red pairs, though – an even number – and this completes the proof.

Techniques

Coloring schemes, extremal argumentsCounting two ways