What is the smallest integer n > 1 such that the first n integers can be arranged into a sequence where the sum of any two adjacent numbers 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.
The flowchart below shows all possible pairs for the first 15 integers, as well as a workable sequence from 8 to 9 shown in red. Removing numbers, starting at 15 and working down, shows that no complete paths through all numbers obtainable until only 1 remains.