The challenge is to order numbers 1 to N such that every two consecutive
numbers in the sequence add up to a square number. For N=15 a solution is
8 1 15 10 6 3 13 12 4 5 11 14 2 7 9.
I went a bit overboard exploring a couple of approaches in ECLiPSe,
which some of you may find interesting. Read about it at