Maths Olympiad Prep

Library / /294 of 397

, 2023

Combinatorics Difficulty 6.5 National Olympiad Prove it Taiwan

A necromancer and a paladin combat on a 666×666666 \times 666 grid. The grid is initially empty. For each turn, the necromancer first chooses a block on the grid, and increases one skeleton in each block within the 3×33 \times 3 region centered at the chosen block (which include at most nine blocks); then, the paladin chooses four blocks on the grid, and eliminates one skeleton from each of these blocks (the number of skeletons in each block is a non-negative integer.)
For any turn, we called a block doomed if, at the end of that turn, there are 10610^6 or more skeletons in that block. Find the largest positive integer KK such that the necromancer has a strategy that guarantees KK or more blocks on the grid to be simultaneously doomed in some finite turns, regardless of how the paladin acts.

Solution

The largest K=5×2222K = 5 \times 222^2; in general, for a 3N×3N3N \times 3N grid, K=5N2K = 5N^2.

Figure 1

First we prove K5N2K \le 5N^2. Color the grid as in the figure above, and note that in each turn the necromancer can only increase skeletons on at most four white blocks, so the paladin can always keep the skeleton count on the white region at 00, so the number of doomed blocks the necromancer can possibly guarantee to create is at most the number of gray blocks, namely 5N25N^2.

Next we prove K5N2K \ge 5N^2. In fact, we may consider the following strengthened version of the game: when it is the paladin's turn, he instead chooses five blocks within the 3×33 \times 3 region that the necromancer has just increased skeletons in, and decreases the skeleton count by one in every block on the entire grid except these five blocks. Clearly, if in the strengthened version the necromancer can guarantee K5N2K \ge 5N^2, then he can also do so in the original version. Note that, for a 3×33 \times 3 region, there are a total of M=(95)M = \binom{9}{5} ways for the paladin to choose five of its blocks. Also note that, combining both players' moves, this is equivalent to increasing the skeleton count by 11 in the five blocks chosen by the paladin, keeping the skeleton count unchanged in the remaining four blocks of the 3×33 \times 3 region, and decreasing the skeleton count by 11 in every other block on the grid.

Consider the necromancer repeatedly targeting the same 3×33 \times 3 region for MM\ell consecutive turns. By the pigeonhole principle, among all MM ways of choosing five blocks out of the 3×33 \times 3 region, there must be one that the paladin selects at least \ell times. From the discussion in the previous paragraph, this means that within this 3×33 \times 3 region, there are at least five blocks whose skeleton count is \ge \ell.

Now, partition the grid into N2N^2 disjoint 3×33 \times 3 regions, and number them 0,1,,N210, 1, \dots, N^2 - 1. Then, starting from the region with the largest number, we perform the following actions in sequence: for the region numbered bb, let the necromancer repeatedly target that region for C=106M(M+1)bC = 10^6 M (M+1)^b consecutive turns. By the discussion above, these CC turns guarantee that five blocks in this region have their skeleton count increased to at least 106(M+1)b10^6 (M+1)^b, and afterward each subsequent turn will decrease this count by 11. However, after completing the CC turns for region numbered bb, we will only perform actions on the regions numbered b1b-1 down to 00, and the total number of turns for these actions is 106M{(M+1)b1+(M+1)b2++1}=106{(M+1)b1}10^6 M \{(M+1)^{b-1} + (M+1)^{b-2} + \dots + 1\} = 10^6 \{(M+1)^b - 1\}, so the region numbered bb will have at least five blocks whose skeleton count is no less than 106(M+1)b106{(M+1)b1}=10610^6 (M+1)^b - 10^6 \{(M+1)^b - 1\} = 10^6. The above reasoning holds for all bb, so there are 5N25N^2 doomed blocks. This completes the proof.

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 zh; metadata (topic, difficulty) added by this project.