What is the maximum possible value of n such that n is an integer and n-124 and n+124 are perfect squares?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let n - 124 = k^2 and n + 124 = r^2
Follows that k^2 - r^2 = 248
or (k+r)(k-r) = 248 = 124 * 2 or 62 * 4 or 31 * 2^3 or 248 * 1
The valid integer solutions for k and r are k = 63 and r = 61 giving n = 3845
or k = 33 , r = 29 giving n = 965.
The greater of the two solutions is 3845 and hence the answer to this question is 3845.