Maths Olympiad Prep

Library / IMO Team Selection Test 3, June /4 of 4

IMO Team Selection Test 3, June, 2020

Combinatorics Difficulty 8.9 Shortlist Prove it Netherlands

Suppose kk and nn are positive integers such that k≤n≤2k−1k \le n \le 2k - 1. Julian has a large pile of rectangular k×1k \times 1-tiles. Merlijn picks a positive integer mm, and receives from Julian mm tiles to place on an n×nn \times n-board. On each tile, Julian writes whether this tile should be placed horizontally or vertically. Tiles may not overlap on the board, and they must fit entirely inside the board. What is the largest number mm that Merlijn can pick while still guaranteeing he can put all tiles on the board according to Julian's instructions?

Solution

We show that the largest mm Merlijn can pick is min⁡(n,3(n−k)+1)\min(n, 3(n-k)+1). First we show that m≤min⁡(n,3(n−k)+1)m \le \min(n, 3(n-k)+1). If Merlijn asks for n+1n+1 tiles, Julian can instruct Merlijn to place them all horizontally. As n≤2k−1n \le 2k-1, it is impossible to place more than one tile horizontally on a single row, so Merlijn would need at least n+1n+1 rows, this is a contradiction. Therefore m≤nm \le n.

Now suppose that Merlijn asks for 3(n−k)+23(n-k)+2 tiles. Julian can now instruct Merlijn to place n−k+1n-k+1 tiles vertically and 2n−2k+12n-2k+1 tiles horizontally.

Note that vertical tiles always cover the k−(n−k)=2k−n≥1k - (n-k) = 2k - n \ge 1 rows in the middle of the board. Therefore the vertical tiles together cover at least n−k+1n-k+1 squares in each of these rows in the middle of the board, leaving at most k−1k-1 squares for the horizontal tiles. Therefore no horizontal tiles fit in these middle rows, and the 2n−2k+12n-2k+1 horizontal tiles need to fit in the remaining n−(2k−n)=2n−2kn-(2k-n) = 2n-2k rows. This is a contradiction. Therefore we must have m≤3(n−k)+1m \le 3(n-k)+1. It follows that m≤min⁡(n,3(n−k)+1)m \le \min(n, 3(n-k)+1).

Now we show that it is always possible to place a pile of min⁡(n,3(n+k)+1)\min(n, 3(n+k)+1) tiles on the board. We first consider two special configurations. Put n−kn-k horizontal tiles into a (n−k)×k(n-k) \times k-rectangle at the bottom left. To the right of that, we can fit n−kn-k more vertical tiles into a k×(n−k)k \times (n-k)-rectangle in the bottom right. Above that rectangle, we can fit n−kn-k more horizontal tiles into a (n−k)×k(n-k) \times k-rectangle in the top right. Finally, to the left of that, we can fit n−kn-k more vertical tiles into a k×(n−k)k \times (n-k)-rectangle in the top left. In this way, we can fit 2(n−k)2(n-k) horizontal and 2(n−k)2(n-k) vertical tiles on the board.

One other way to cover the board is as follows. Place nn vertical tiles in the top left, covering a k×nk \times n-rectangle. Below that there is room for n−kn-k horizontal tiles to fit in an (n−k)×k(n-k) \times k-rectangle. In this way, we can fit nn vertical and n−kn-k horizontal tiles on the board.

Figure 1

Suppose that Merlijn receives AA horizontal tiles and BB vertical tiles from Julian. Then we have A+B≤nA+B \le n and A+B≤3(n−k)+1A+B \le 3(n-k)+1. Without loss of generality we assume that A≤BA \le B. If A≤n−kA \le n-k, then Merlijn uses the second special configuration, omitting tiles he doesn't have. As B≤nB \le n, this works. Else, A≥n−k+1A \ge n-k+1, so B≤3(n−k)+1−A≤3(n−k)+1−(n−k+1)=2(n−k)B \le 3(n-k)+1-A \le 3(n-k)+1-(n-k+1) = 2(n-k). As A≤BA \le B, we also have A≤2(n−k)A \le 2(n-k), and Merlijn can use the first configuration, omitting tiles he doesn't have. Therefore it is always possible for Merlijn to place min⁡(n,3(n−k)+1)\min(n, 3(n-k)+1) tiles on the board. □\square

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

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.