The method was surprising in its effectiveness and simplicity: First, an
arithmetic progression has to be chosen (such as the simple progression 1,2,3,4,5,6,7,8,9 for a square with three rows and columns (the
Lo Shu square)). Then, starting from the central box of the first row with the number 1 (or the first number of any arithmetic progression), the fundamental movement for filling the boxes is diagonally
up and right (
↗), one step at a time. When a move would leave the square, it is wrapped around to the last row or first column, respectively. If a filled box is encountered, one moves vertically
down one box (
↓) instead, then continuing as before.
Order-3 magic squares Order-5 magic squares Other sizes Any
n-odd square ("
odd-order square") can be thus built into a magic square. The Siamese method does not work however for n-even squares ("
even-order squares", such as 2 rows/ 2 columns, 4 rows/ 4 columns etc...).
Other values Any sequence of numbers can be used, provided they form an
arithmetic progression (i.e. the difference of any two successive members of the sequence is a constant). Also, any starting number is possible. For example the following sequence can be used to form an order 3 magic square according to the Siamese method (9 boxes): 5, 10, 15, 20, 25, 30, 35, 40, 45 (the magic sum gives 75, for all rows, columns and diagonals). The magic sum in these cases will be the sum of the arithmetic progression used divided by the order of the magic square.
Other starting points It is possible not to start the arithmetic progression from the middle of the top row, but then only the row and column sums will be identical and result in a magic sum, whereas the diagonal sums will differ. The result will thus not be a true magic square:
Rotations and reflections Numerous other magic squares can be deduced from the above by simple
rotations and
reflections. ==Variations==