1999 AIME Problem 3

Below is the professionally curated solution for Problem 3 of the 1999 AIME, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 1999 AIME 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:perfect squarecompleting the squaredifference of squares

Difficulty rating: 2180

3.

Find the sum of all positive integers nn for which n219n+99n^2 - 19n + 99 is a perfect square.

Solution:

Suppose n219n+99=k2.n^2 - 19n + 99 = k^2. Multiplying by 44 and completing the square gives (2n19)2+35=(2k)2,(2n - 19)^2 + 35 = (2k)^2, so (2k(2n19))(2k+(2n19))=35.\bigl(2k - (2n - 19)\bigr)\bigl(2k + (2n - 19)\bigr) = 35. The two factors sum to 4k>0,4k \gt 0, so both are positive: the factor pairs are (1,35),(1, 35), (5,7),(5, 7), (7,5),(7, 5), and (35,1).(35, 1).

Subtracting the first factor from the second gives 2(2n19)=34,2(2n - 19) = 34, 2,2, 2,-2, or 34,-34, so n=18,n = 18, 10,10, 9,9, or 1.1. Each indeed makes the expression a perfect square (81,81, 9,9, 9,9, 8181), and the sum is 18+10+9+1=38.18 + 10 + 9 + 1 = 38.

← Problem 2Full ExamProblem 4

Problem 3 in Other Years