DR.WANG Mathematics中文

2025 AIME I · Question 4

Number theory · Diophantine Equation · factoring · counting integers in a range · algebra · counting

Problem outline

Count lattice points in the closed square [−100,100]2[-100,100]^2 on the quadratic curve 12x2−xy−6y2=012x^2-xy-6y^2=0.

Show answer and methods 2 methods

Answer

117

Method 1 Use the primitive vectors of the two lines

Expand (4x−3y)(3x+2y)(4x-3y)(3x+2y) to recover the given polynomial. The curve thus consists of two lines through the origin. Their integer points are exactly the integer multiples of (3,4)(3,4) and (2,−3)(2,-3), respectively, because each direction vector has coprime coordinates.

On the first line the multiplier can range from −25-25 to 2525. On the second it ranges from −33-33 to 3333. Only the origin lies on both lines. Counting it once gives 51+67−1=11751+67-1=117.

Method 2 Solve for the slope and exploit central symmetry

If x=0x=0, the only solution is the origin. Otherwise t=y/xt=y/x satisfies 6t2+t−12=06t^2+t-12=0, whose discriminant is 289=172289=17^2. Hence t=4/3t=4/3 or t=−3/2t=-3/2.

Count just the points with positive xx. For the first slope, xx must be a multiple of 33 no larger than 7575, giving 2525 points. For the second, xx must be even and 3x/2≤1003x/2\le100, giving 3333. Reflect in the origin for the same number with negative xx and add the origin: 2(25+33)+1=1172(25+33)+1=117.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)