Maths Olympiad Prep

Library / Taiwan IMO Selection Camp /5 of 359

Taiwan IMO Selection Camp, 2022

Geometry Difficulty 4.4 AIME Prove it Taiwan

平面上有 2022 個相異格子點。令 II 為這些點中,有幾對點之間的距離恰為 1 的點對數量。求 II 的最大可能值。

註:格子點為 xx 座標與 yy 座標皆為整數的點。

Solution

There are 2022 distinct lattice points on the plane. Let II be the number of pairs of points among these points whose distance is exactly 1. Find the maximum possible value of II.

Note: A lattice point is a point whose xx-coordinate and yy-coordinate are both integers.

The maximum possible II is 3954; this maximum is achieved by a 45×4545 \times 45 grid of points with three corners removed.

For any 2022 distinct lattice points, suppose that they have a total of nn distinct xx-coordinates x1,x2,…,xnx_1, x_2, \dots, x_n, and there are aia_i points with xx-coordinate equal to xix_i. Note that among the points on the column x=xix = x_i, one can form at most ai−1a_i - 1 segments of length 1 perpendicular to the xx-axis, so the total number of segments of length 1 perpendicular to the xx-axis ≤∑i=1n(ai−1)=2022−n\le \sum_{i=1}^n (a_i - 1) = 2022 - n.

Similarly, if these points have a total of mm distinct yy-coordinates, then the total number of segments of length 1 perpendicular to the yy-axis ≤2022−m\le 2022 - m.

Moreover, since a segment of length 1 between lattice points must be perpendicular to one of the coordinate axes, we have
I≤(2022−n)+(2022−m)=4044−(n+m) I \le (2022 - n) + (2022 - m) = 4044 - (n + m)
But also note that 2022 distinct points guarantee mn≥2022mn \ge 2022, so by AM-GM we have
m+n≥2mn>89⇒m+n≥90. m + n \ge 2\sqrt{mn} > 89 \Rightarrow m + n \ge 90.
Therefore I≤4044−90=3954I \le 4044 - 90 = 3954.

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