Skip to main content

2010 AIME I Problem 5

Problem 5 of 15EasierAlgebraCombinatoricsProblem-Solving Techniques

Positive integers a,a, b,b, c,c, and dd satisfy a>b>c>d,a \gt b \gt c \gt d, a+b+c+d=2010,a + b + c + d = 2010, and a2−b2+c2−d2=2010.a^2 - b^2 + c^2 - d^2 = 2010. Find the number of possible values of a.a.

Your answer

Integer from 0 to 999
Show solution

Solution

Factoring, a2−b2+c2−d2=(a−b)(a+b)+(c−d)(c+d)≥(a+b)+(c+d)=2010, \begin{gathered} a^2 - b^2 + c^2 - d^2 \\ = (a-b)(a+b) \\ {}+ (c-d)(c+d) \\ \ge (a+b) + (c+d) = 2010, \end{gathered} since a−b≥1a - b \ge 1 and c−d≥1.c - d \ge 1. Equality holds, so a−b=c−d=1,a - b = c - d = 1, that is, b=a−1b = a - 1 and d=c−1.d = c - 1. Then 2010=a+(a−1)+c+(c−1)2010 = a + (a-1) + c + (c-1) gives a+c=1006.a + c = 1006. The condition b>cb \gt c means a−1>c=1006−a,a - 1 \gt c = 1006 - a, so a≥504,a \ge 504, and d≥1d \ge 1 means c≥2,c \ge 2, so a≤1004.a \le 1004. Every aa in this range works, via (a,b,c,d)(a, b, c, d) =(a, a−1, = (a,\, a-1,\, 1006−a, 1005−a).1006-a,\, 1005-a). The count is 1004−504+1=501.1004 - 504 + 1 = 501.
AoPS wiki

Tagged: difference of squares · bounding to limit cases · counting integers in a range

More practice