Find the sum of all positive integers 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.
For n = 1 , 9 + 3 + 7 = 1 9 is not a perfect square. For n = 2 , 8 1 + 1 2 + 7 = 1 0 0 is a perfect square.
For n > 2 , we find that 3 n 2 + 7 < 2 ⋅ 3 n + 1
⟹ 3 2 n + 3 n 2 + 7 < 3 2 n + 2 ⋅ 3 n + 1
⟹ 3 2 n + 3 n 2 + 7 < ( 3 n + 1 ) 2
However, ( 3 n ) 2 < 3 2 n + 3 n 2 + 7 . This means that for n > 2 , 3 2 n + 3 n 2 + 7 is strictly between two consecutive perfect squares, so it cannot be a square itself.
Hence the only solution is n = 2 .