Skip to main content

2025 AIME I Problem 4

Problem 4 of 15EasierAlgebraNumber TheoryCombinatorics

Find the number of ordered pairs (x,y),(x, y), where both xx and yy are integers between −100-100 and 100,100, inclusive, such that 12x2−xy−6y2=0.12x^2 - xy - 6y^2 = 0.

Your answer

Integer from 0 to 999
Show solution

Solution

The equation factors as 12x2−xy−6y2=(3x+2y)(4x−3y)=0, \begin{gathered} 12x^2 - xy - 6y^2 \\ = (3x + 2y)(4x - 3y) \\ = 0, \end{gathered} so every solution has 4x=3y4x = 3y or 3x=−2y.3x = -2y. Integer solutions of 4x=3y4x = 3y are (x,y)=(3t,4t);(x, y) = (3t, 4t); the constraint ∣4t∣≤100|4t| \le 100 gives −25≤t≤25,-25 \le t \le 25, or 5151 pairs. Integer solutions of 3x=−2y3x = -2y are (x,y)=(2t,−3t);(x, y) = (2t, -3t); the constraint ∣3t∣≤100|3t| \le 100 gives −33≤t≤33,-33 \le t \le 33, or 6767 pairs. The families overlap only at (0,0),(0, 0), so the count is 51+67−1=117.51 + 67 - 1 = 117.
AoPS wiki

Tagged: Diophantine Equation · factoring · counting integers in a range

More practice