Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

Home
Integer Sequences to Represent Natural Numbers in Magic Squares

It's my delight to share with you my discovery that magic squares can be generated from solutions to n-queens problem (see also EightQueens.htm).  Following are the two integer sequences that represent the only unique solution out of possible two distinct solutions for 4-queens problem. The 4x4 magic square is easily generated from the solutions to the 4-queens problem.  If you see an error in this list, please let me know. Paul

Sol Sequence Sum
Q1 2,8,9,15
34
Q2 3,5,12,14
34
M3 1,8,12,13
34
M4 3,6,10,15
34
M5 2,7,11,14
34
M6 4,5,9,16
34
M7 2,3,13,16
34
M8 5,8,10,11
34
M9 6,7,9,12
34
M10 1,4,14,15
34
M11 4,7,10,13 34
M... etc.
34


Copyright © 1996-2004 Paul B. Muljadi. All Rights Reserved.