HMMT 二月 2023 · 团队赛 · 第 5 题
HMMT February 2023 — Team Round — Problem 5
题目详情
英文原题
- [40] Let S be the set of all points in the plane whose coordinates are positive integers less than orequal to 100 (so S has 100 elements), and let L be the set of all lines ` such that ` passes through at 2
least two points in S . Find, with proof, the largest integer N ≥ 2 for which it is possible to choose Ndistinct lines in L such that every two of the chosen lines are parallel.
解析
英文解析
- [40] Let S be the set of all points in the plane whose coordinates are positive integers less than orequal to 100 (so S has 100 elements), and let L be the set of all lines ` such that ` passes through at 2
least two points in S . Find, with proof, the largest integer N ≥ 2 for which it is possible to choose Ndistinct lines in L such that every two of the chosen lines are parallel.
Proposed by: Ankit Bisain, Brian Liu, Carl Schildkraut, Luke Robitaille, Maxim Li, William Wang
Answer: 4950
Solution: Let the lines all have slope where p and q are relatively prime. Without loss of generality,pqlet this slope be positive. Consider the set of points that consists of the point of S with the smallestcoordinates on each individual line in the set L . Consider a point ( x, y ) in this, because there is noother point in S on this line with smaller coordinates, either x ≤ q or y ≤ p . Additionally, since eachline passes through at least two points in S , we need x + q ≤ 100 and y + p ≤ 100.
The shape of this set of points will then be either a rectangle from (1 , 1) to (100 − q, 100 − p ) with therectangle from ( q + 1 , p + 1) to (100 − q, 100 − p ) removed, or if 100 − q < q + 1 or 100 − p < p + 1, justthe initial rectangle. This leads us to two formulas for the number of lines,
{
(100 − p )(100 − q ) − (100 − 2 p )(100 − 2 q ) p, q < 50
N =
(100 − p )(100 − q ) otherwise
In the first case, we need to minimize the quantity
(100 − p )(100 − q ) − (100 − 2 p )(100 − 2 q ) = 100( p + q ) − 3 pq
( ) ( )
10000 100 100 = − 3 q − p − ,
3 3 3
if one of p, q is above 100 / 3 and the other is below it, we would want to maximize how far these twoare from 100 / 3. The case ( p, q ) = (49 , 1) will be the optimal case since all other combinations will havep, q ’s closer to 100 / 3, this gives us 4853 cases.
In the second case, we need to minimize p and q while keeping at least one above 50 and them relativelyprime. From here we need only check ( p, q ) = (50 , 1) since for all other cases, we can reduce either por q to increase the count. This case gives a maximum of 4950.