[[ 1 9 17 24 16 8]
[ 5 13 21 20 12 4]
[ 3 11 19 22 14 6]
[ 7 15 23 18 10 2]]
400.634917287
Compare with this one found using the 'genetic algorithm': [[ 9 4 18 10 15 20]
[16 21 12 1 22 7]
[ 2 6 24 5 17 13]
[14 8 19 11 23 3]]
386.229085028