WiNnErPL Posted November 1, 2004 Share Posted November 1, 2004 (edited) eh nm Edited November 1, 2004 by WiNnErPL Link to comment Share on other sites More sharing options...
0 kjordan2001 Posted November 1, 2004 Share Posted November 1, 2004 Is the whole square supposed to be filled with 1's? Link to comment Share on other sites More sharing options...
0 WiNnErPL Posted November 1, 2004 Author Share Posted November 1, 2004 well no it works on the concept that a magic sqaure is an N by N grid of sqaures such that each square contains a distinct integer and the sum of integeers in every row, column and main diagnal is the same. It's an algorithm for producting one that works. Fill in bottow ro middle column. Then move two up and one right. If empty, fill. If not empty, move down one and one left. (looping to the opposite side of the grid when necessary) Link to comment Share on other sites More sharing options...
0 kioria Posted November 1, 2004 Share Posted November 1, 2004 N by N grid, each square contains numbers from this range: [1,N]. Like WiNnErPL said, the sum of the two main diagonals and each rows and columns must be the same. There are number of way of doing this. Search on www.google.com Learn for yourself. Link to comment Share on other sites More sharing options...
Question
WiNnErPL
eh nm
Edited by WiNnErPLLink to comment
Share on other sites
3 answers to this question
Recommended Posts