The first sixteen positive integers are rearranged into a sequence with sixteen terms such that the sum of any two consecutive terms is a perfect square.
What is
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.
All the integers in the sequence can form perfect squares when summed with one of at least two of the other (distinct) integers in the sequence except for 8 , which only forms a perfect square when summed with 1 , and 1 6 , which only forms a perfect square when summed with 9 . So if such a rearrangement exists, 1 6 and 8 must be situated at either end. So now we just need to establish that such a rearrangement exists, and the following, (or its reverse), suffices, (uniquely, in fact):
1 6 , 9 , 7 , 2 , 1 4 , 1 1 , 5 , 4 , 1 2 , 1 3 , 3 , 6 , 1 0 , 1 5 , 1 , 8
The desired answer is therefore 1 6 + 8 = 2 4 .