Equi distant perfect squares

What is the maximum possible value of n such that n is an integer and n-124 and n+124 are perfect squares?


The answer is 3845.

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.

1 solution

Srinivasa Gopal
Dec 6, 2020

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.

As a slight addition, k + r and k - r must both be even as k and r are integers.

Toby M - 6 months, 1 week ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...