Sunday, June 5, 2011

Summer Problem Solving Marathon Solution #6

Since n + 125 and n + 199 are both perfect squares, we have n + 125 = a2 and n + 199 = b2 for some a and b. Subtracting the first equation from the second, we have:

b2 - a2 = 76

or:

(b + a)(b - a) = 76

This yields three possibilities:

#1: b + a = 76, b - a = 1
#2: b + a = 38, b - a = 2
#3: b + a = 19, b - a = 4

But only the second yields an integer value for b. So b = 20, and a = 18. So n + 201 = 202 = 400, and n = 199.

No comments:

Post a Comment