Maths Olympiad Prep

Library / HMMT February /1273 of 1302

HMMT February, 2024

Combinatorics Difficulty 6.2 National Olympiad Prove it United States

Problem:
Each lattice point with nonnegative coordinates is labeled with a nonnegative integer in such a way that the point (0,0)(0,0) is labeled by 00, and for every x,y≥0x, y \geq 0, the set of numbers labeled on the points (x,y)(x, y), (x,y+1)(x, y+1), and (x+1,y)(x+1, y) is {n,n+1,n+2}\{n, n+1, n+2\} for some nonnegative integer nn. Determine, with proof, all possible labels for the point (2000,2024)(2000,2024).

Solution

Solution:
We claim the answer is all multiples of 33 from 00 to 2000+2⋅2024=60482000+2 \cdot 2024 = 6048.

First, we prove no other values are possible. Let ℓ(x,y)\ell(x, y) denote the label of cell (x,y)(x, y).

## The label is divisible by 3.

Observe that for any xx and yy, ℓ(x,y)\ell(x, y), ℓ(x,y+1)\ell(x, y+1), and ℓ(x+1,y)\ell(x+1, y) are all distinct mod 33. Thus, for any aa and bb, ℓ(a+1,b+1)\ell(a+1, b+1) cannot match ℓ(a+1,b)\ell(a+1, b) or ℓ(a,b+1) mod 3\ell(a, b+1) \bmod 3, so it must be equivalent to ℓ(a,b)\ell(a, b) modulo 33.

Since ℓ(a,b+1)\ell(a, b+1), ℓ(a,b+2)\ell(a, b+2), ℓ(a+1,b+1)\ell(a+1, b+1) are all distinct  mod 3\bmod 3, and ℓ(a+1,b+1)\ell(a+1, b+1) and ℓ(a,b)\ell(a, b) are equivalent mod 33, then ℓ(a,b)\ell(a, b), ℓ(a,b+1)\ell(a, b+1), ℓ(a,b+2)\ell(a, b+2) are all distinct  mod 3\bmod 3, and thus similarly ℓ(a,b+1)\ell(a, b+1), ℓ(a,b+2)\ell(a, b+2), ℓ(a,b+3)\ell(a, b+3) are all distinct mod 33, which means that ℓ(a,b+3)\ell(a, b+3) must be neither ℓ(a,b+1)\ell(a, b+1) or ℓ(a,b+2) mod 3\ell(a, b+2) \bmod 3, and thus must be equal to ℓ(a,b) mod 3\ell(a, b) \bmod 3.

Figure 1

These together imply that
ℓ(w,x)≡ℓ(y,z) mod 3⟺w−x≡y−z mod 3 \ell(w, x) \equiv \ell(y, z) \bmod 3 \Longleftrightarrow w-x \equiv y-z \bmod 3
It follows that ℓ(2000,2024)\ell(2000,2024) must be equivalent to ℓ(0,0) mod 3\ell(0,0) \bmod 3, which is a multiple of 33.

## The label is at most 6048.

Note that since ℓ(x+1,y)\ell(x+1, y), ℓ(x,y+1)\ell(x, y+1), and ℓ(x,y)\ell(x, y) are 33 consecutive numbers, ℓ(x+1,y)−ℓ(x,y)\ell(x+1, y)-\ell(x, y) and ℓ(x,y+1)−ℓ(x,y)\ell(x, y+1)-\ell(x, y) are both ≤2\leq 2. Moreover, since ℓ(x+1,y+1)≤ℓ(x,y)+4\ell(x+1, y+1) \leq \ell(x, y)+4, since it is also the same mod 33, it must be at most ℓ(x,y)+3\ell(x, y)+3. Thus, ℓ(2000,2000)≤ℓ(0,0)+3⋅2000\ell(2000,2000) \leq \ell(0,0)+3 \cdot 2000, and ℓ(2000,2024)≤ℓ(2000,2000)+2⋅24\ell(2000,2024) \leq \ell(2000,2000)+2 \cdot 24, so ℓ(2000,2024)≤6048\ell(2000,2024) \leq 6048.

## Construction.

Consider lines ℓn\ell_{n} of the form x+2y=nx+2y=n (so (2000,2024)(2000,2024) lies on ℓ6048\ell_{6048}). Then any three points of the form (x,y)(x, y), (x,y+1)(x, y+1), and (x+1,y)(x+1, y) lie on three consecutive lines ℓn\ell_{n}, ℓn+1\ell_{n+1}, ℓn+2\ell_{n+2} in some order. Thus, for any kk which is a multiple of 33, if we label every point on line ℓi\ell_{i} with max⁡(i mod 3,i−k)\max(i \bmod 3, i-k), any three consecutive lines ℓn\ell_{n}, ℓn+1\ell_{n+1}, ℓn+2\ell_{n+2} will either be labelled 0,1,20,1,2 in some order, or n−k,n−k+1,n−k+2n-k, n-k+1, n-k+2, both of which consist of three consecutive numbers. Below is an example with k=6k=6.

Figure 2

89101112131415
678910111213
4567891011
23456789
01234567
12012345
20120123
01201201

Any such labelling is valid, and letting kk range from 00 to 60486048, we see (2000,2024)(2000,2024) can take any label of the form 6048−k6048-k, which spans all such multiples of 33.

Hence the possible labels are precisely the multiples of 33 from 00 to 60486048.

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.