That's certainly one way to putting it, but no, I meant to rearrange the numbers from 1 to 22 in such a way that each of them is next to another number that creates a square number, so instead of: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, I'll give an example.
Lets say you start the new series off with a 1. you could put 1, 3, 22, because 1+3 = 4 (or 2^2) and 3+22 = 25 (or 5^2), OR you could do 1, 8, 17, because 1+ 8 = 9 (or 3^2) and 8+17 = 25 (or 5^2)
You have to reorder the numbers in such a way that each number to the right adds up to a square number with the number preceding it. There's only one way to rearrange all the numbers so it works. 10, 6, 3, 13, 12, 4, etc etc etc until all the numbers are used. (And the example I just used is wrong, if you start off with 10 the problem breaks down and it can't be completed)
And here's a little more help, all the relevant square numbers are 4, 9, 16, 25, 36, and 49(maybe), if two numbers don't add up to one of those then they can't work next to each other.