2008 AIME I Problem 4

Below is the professionally curated solution for Problem 4 of the 2008 AIME I, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2008 AIME I solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:Diophantine Equationcompleting the squaredifference of squares

Difficulty rating: 2230

4.

There exist unique positive integers xx and yy that satisfy the equation x2+84x+2008=y2.x^2 + 84x + 2008 = y^2. Find x+y.x + y.

Solution:

Completing the square, x2+84x+2008=(x+42)2+244,x^2 + 84x + 2008 = (x + 42)^2 + 244, so y2(x+42)2=244,y^2 - (x + 42)^2 = 244, which factors as (yx42)(y+x+42)=244=2261.(y - x - 42)(y + x + 42) = 244 = 2^2 \cdot 61. The two factors have the same parity, and their product is even, so both are even: yx42=2y - x - 42 = 2 and y+x+42=122.y + x + 42 = 122.

Adding gives y=62,y = 62, and then x=18;x = 18; indeed 182+8418+2008=3844=622.18^2 + 84 \cdot 18 + 2008 = 3844 = 62^2. Therefore x+y=18+62=80.x + y = 18 + 62 = 80.

← Problem 3Full ExamProblem 5

Problem 4 in Other Years