Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO Team Selection Test 1, June 2020

Netherlands 2020 counting and probability

Problem

For a positive integer , we consider an -board and tiles with sizes , , ..., . In how many ways can exactly squares of the board be coloured red, so that the red squares can be covered by placing the tiles horizontally on the board, as well as by placing the tiles vertically on the board? Two colourings which are not identical, but which can be obtained from one another by rotation or reflection, are counted as different colourings.
Solution
The number of red squares must equal the total number of squares covered by the tiles, hence the tiles are only put on top of red squares. Consider a colouring of the board and the corresponding horizontal covering by the tiles (where all tiles are placed horizontally) and the vertical covering. We will deduce a number of properties for the colouring, and then count how many colourings there are. The tile whose size is is called the -tile.

Because the horizontal covering contains an -tile, each column has at least one red square. In the vertical covering, each column must therefore contain at least one tile; because there are exactly tiles, this means that there must be exactly one tile in each column. In the same way, each row must contain exactly one tile in the horizontal covering. Now number the rows and columns depending on the number of the tile that has been put there: so row is the row containing the -tile in the horizontal covering, and analogously for the columns.

We will now prove that the square in row and column (which will be called ) is red if and only if . We prove this using induction on .

In row 1, there is only one red square, so that must be in the column containing the -tile in the vertical covering, i.e. column . Hence, the square is red if and only if , or if and only if .

Now let and suppose the statement has been proved for all . We want to prove the statement for , i.e. that the square is red if and only if , or . Consider a column . Because of the induction hypothesis, we know exactly how many red squares this column has in rows : namely, the square is red if and only if , or ; these are squares. In the other rows, this column needs another red squares. Hence, this column has a red square in each of these rows, in particular in the row . In row , the squares with are all red, and these are squares. Hence, these are exactly all red squares in row , hence the square is red if and only if , or if and only if . This finishes the proof by induction.

Now consider two adjacent rows with row numbers and , with . In column , there is a red square in row (because ), but not in row . In the row directly on the other side of row (if this row exists), there cannot be a red square in column , because the red squares in column would otherwise not be consecutive, and then the tile with number cannot lie there. The row number of this row must therefore be smaller than . We conclude that the row numbers cannot decrease first and then increase. Above and below row , there must be a row with a smaller number (or no row at all), and the row numbers must descend in both directions from there. We see that the row numbers from top to bottom must first ascend until we get to row , and then they must descend. The same can be proved for the column numbers.

Vice versa, we have to prove that if the row and column numbers are first ascending and then descending, then the horizontal and vertical tiles can be put. To prove this, we colour the square red if and only if . For a fixed , the red squares are the squares with ; because of the order of the column numbers, these columns are adjacent. Hence, in each row, the red squares are adjacent. The horizontal tiles can be put exactly on top of the red squares. In the same way, this can be done for the vertical tiles. For these row and column numbers, there was no other way to choose the colouring, because we already know that for each suitable colouring the square is red if and only if .

Altogether, we are looking for the number of ways to choose the row and column numbers such that the numbers are first ascending and then descending; corresponding to each of these choices, there is exactly one way to colour the squares so that they satisfy the conditions. The number of ways to put the numbers to in an order that is first ascending and then descending, equals the number of subsets of . Namely, each ordering corresponds to the subset of numbers that appear before the number ; these can be sorted in a unique way (ascending), and the rest of the numbers must be sorted descending and put after the . The number of subsets is . Hence, the total number of colourings satisfying the conditions, is .
Final answer
2^{2n-2}

Techniques

Recursion, bijectionInduction / smoothing