Maths Olympiad Prep

Library / /3 of 3

, 2020

Combinatorics Difficulty 9.1 IMO level Prove it Netherlands

For a positive integer nn, we consider an n×nn \times n-board and tiles with sizes 1×11 \times 1, 1×21 \times 2, ..., 1×n1 \times n. In how many ways can exactly 12n(n+1)\frac{1}{2}n(n+1) squares of the board be coloured red, so that the red squares can be covered by placing the nn tiles horizontally on the board, as well as by placing the nn 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 nn 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 1×k1 \times k is called the *kk-tile*.

Because the horizontal covering contains an nn-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 nn 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 ii is the row containing the ii-tile in the horizontal covering, and analogously for the columns.

We will now prove that the square in row ii and column jj (which will be called (i,j)(i, j)) is red if and only if i+jn+1i+j \ge n+1. We prove this using induction on ii.

In row 1, there is only one red square, so that must be in the column containing the nn-tile in the vertical covering, i.e. column nn. Hence, the square (1,j)(1, j) is red if and only if j=nj=n, or if and only if 1+jn+11+j \ge n+1.

Now let k1k \ge 1 and suppose the statement has been proved for all iki \le k. We want to prove the statement for i=k+1i=k+1, i.e. that the square (k+1,j)(k+1, j) is red if and only if k+1+jn+1k+1+j \ge n+1, or jnkj \ge n-k. Consider a column jnkj \ge n-k. Because of the induction hypothesis, we know exactly how many red squares this column has in rows 1,2,...,k1, 2, ..., k: namely, the square (i,j)(i, j) is red if and only if i+jn+1i+j \ge n+1, or in+1ji \ge n+1-j; these are k(nj)=j+knk-(n-j) = j+k-n squares. In the other nkn-k rows, this column needs another j(j+kn)=nkj-(j+k-n) = n-k red squares. Hence, this column has a red square in each of these rows, in particular in the row i=k+1i=k+1. In row i=k+1i=k+1, the squares (i,j)(i, j) with jnkj \ge n-k are all red, and these are k+1k+1 squares. Hence, these are exactly all red squares in row i=k+1i=k+1, hence the square (i,j)(i, j) is red if and only if jnkj \ge n-k, or if and only if i+jnk+k+1=n+1i+j \ge n-k+k+1=n+1. This finishes the proof by induction.

Now consider two adjacent rows with row numbers aa and bb, with a>ba > b. In column nbn-b, there is a red square in row aa (because a+nb>na+n-b > n), but not in row bb. In the row directly on the other side of row bb (if this row exists), there cannot be a red square in column nbn-b, because the red squares in column nbn-b would otherwise not be consecutive, and then the tile with number nbn-b cannot lie there. The row number of this row must therefore be smaller than bb. We conclude that the row numbers cannot decrease first and then increase. Above and below row nn, 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 nn, 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 (i,j)(i, j) red if and only if i+jn+1i+j \ge n+1. For a fixed ii, the red squares are the squares (i,j)(i, j) with jn+1ij \ge n+1-i; 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 (i,j)(i, j) is red if and only if i+jn+1i+j \ge n+1.

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 11 to nn in an order that is first ascending and then descending, equals the number of subsets of {1,2,,n1}\{1, 2, \dots, n-1\}. Namely, each ordering corresponds to the subset of numbers that appear before the number nn; these can be sorted in a unique way (ascending), and the rest of the numbers must be sorted descending and put after the nn. The number of subsets is 2n12^{n-1}. Hence, the total number of colourings satisfying the conditions, is (2n1)2=22n2(2^{n-1})^2 = 2^{2n-2}. \square

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.