2025 AIME I · Question 4
Problem outline
Count lattice points in the closed square on the quadratic curve .
Show answer and methods 2 methods
Answer
117
Method 1 Use the primitive vectors of the two lines
Expand to recover the given polynomial. The curve thus consists of two lines through the origin. Their integer points are exactly the integer multiples of and , respectively, because each direction vector has coprime coordinates.
On the first line the multiplier can range from to . On the second it ranges from to . Only the origin lies on both lines. Counting it once gives .
Method 2 Solve for the slope and exploit central symmetry
If , the only solution is the origin. Otherwise satisfies , whose discriminant is . Hence or .
Count just the points with positive . For the first slope, must be a multiple of no larger than , giving points. For the second, must be even and , giving . Reflect in the origin for the same number with negative and add the origin: .
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)