Maths Olympiad Prep

Library / /27 of 36

Combinatorics Difficulty 7.1 National Olympiad, round 2 Prove it Italy

Problem:

A grid consists of n×nn \times n points, with nn a positive integer. On some of these points a sentinel is placed. Each sentinel chooses two directions perpendicular to each other (among those of the rows and columns of the grid) and watches over all the points that lie in the chosen directions. Each sentinel also watches over the cell it occupies, and sentinels that are on the border may also find themselves looking into the void, depending on the chosen directions.

For example, in the figure below, relative to an arrangement of 5 sentinels in a 4×44 \times 4 grid, the sentinels at A,B,C,D,EA, B, C, D, E watch over, respectively, 1,3,4,5,71,3,4,5,7 points; the points DD and EE are watched over by a single sentinel, the point CC is watched over by 2 sentinels, the points A,BA, B and FF are watched over by 3 sentinels.

Figure 1

a) Prove that we can place 12 sentinels in a 4×44 \times 4 grid so that every point of the grid is watched over by at most 2 sentinels.

b) Let S(n)S(n) be the maximum number of sentinels that we can place in an n×nn \times n grid so that every point of the grid is watched over by at most 2 sentinels.
Prove that 3nS(n)4n3 n \leq S(n) \leq 4 n for every n3n \geq 3.

Solution

Solution:

a. One possible arrangement in the 4×44 \times 4 case is the following.

Figure 2

b. Let us first show that S(n)4nS(n) \leq 4 n. Suppose for contradiction that S(n)>4nS(n)>4 n for some value of nn. Then there exists at least one row in which there are at least 5 sentinels. Among these 5 sentinels, at least 3 look horizontally in the same direction. But then the last point of the row in that direction will be watched over by at least 3 sentinels, which contradicts the hypothesis.

Let us now show that S(n)3nS(n) \geq 3 n. For this we generalize the construction of the 4×44 \times 4 case by distinguishing two cases.

- Case nn even. We show that, for a generic even nn of the form n=2kn=2 k, it is possible to place 4n44 n-4 sentinels (and this number is greater than 3n3 n as soon as n4n \geq 4).
We divide the grid into 4 quadrants of size k×kk \times k. In the top-left quadrant we place all the sentinels on the points of the diagonal (the one containing the vertex of the initial grid) and on the points just below the diagonal. All these sentinels have their gaze directed upward and to the left. We place the sentinels in the other 3 quadrants by suitably reflecting the configuration just described.
Note that in each quadrant we have placed exactly k+(k1)=n1k+(k-1)=n-1 sentinels, so in total there are 4n44 n-4 sentinels.
Note that every point is watched over only by sentinels that are in its quadrant, because the other sentinels look elsewhere. Within the top-left quadrant, a point is watched over only by sentinels that are in the same column and below that point, or in the same row and to the right of that point. If there are no sentinels on a point, these are either only below (and there are at most 2) or only to the right (and there are at most 2). The points on which the sentinels stand are watched over only by the sentinel present there and, at most, by the sentinel just below or just to the right, and thus in every case the sentinels watching over it are at most 2.

- Case nn odd. We show that for a generic odd nn of the form n=2k1n=2 k-1, with k2k \geq 2, it is possible to place 4n34 n-3 sentinels (and this number is greater than 3n3 n as soon as n3n \geq 3).
In this case we think of the grid as a union of four rectangles k(k1)k \cdot(k-1), plus a small central square. In each rectangle we essentially repeat the arrangement of sentinels described for the k×kk \times k blocks of the even case. The condition that every point is watched over by at most two sentinels is satisfied for the same reason as in the even case.
In this way we have placed 2(k1)2(k-1) sentinels in each rectangle, for a total of 8k8=4n48 k-8=4 n-4 sentinels. We now note that in the central row and column we have placed only two sentinels, so we can still place one further sentinel in the small central square, with its gaze directed in any two directions we like, without violating the conditions of the problem.

The figure below illustrates the constructions described above in the particular cases n=10n=10 and n=11n=11. In the 11×1111 \times 11 case we can orient the sentinel in the central cell as we like.

Figure 3

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 translated into English from it; metadata (topic, difficulty) added by this project.