Find the sum of all values of positive integer such that is a perfect square .
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.
n 2 + 9 6 = p 2
⟹ p 2 − n 2 = 9 6
⟹ ( p + n ) ( p − n ) = 9 6
The numbers are small enough to allow a case by case treatment.
Notice that the first term ( p + n ) is greater than the second one ( p − n ) . This allows us to list all the possible cases. For each row the entries in the third and fourth columns come from solving the first and second columns as simultaneous equations for n and p . I have omitted non-integer results because they are of no interest to us! -
⎝ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎛ ( p + n ) 9 6 4 8 3 2 2 4 1 6 1 2 ( p − n ) 1 2 3 4 6 8 p 2 5 1 4 1 1 1 0 total n 2 3 1 0 5 2 4 0 ⎠ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎞