<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Siamese_method</id>
	<title>Siamese method - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Siamese_method"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Siamese_method&amp;action=history"/>
	<updated>2026-05-11T20:14:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Siamese_method&amp;diff=6958336&amp;oldid=prev</id>
		<title>imported&gt;SilkPyjamas: Adding short description: &quot;Mathematical process for constructing magic squares&quot;</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Siamese_method&amp;diff=6958336&amp;oldid=prev"/>
		<updated>2025-03-07T05:08:51Z</updated>

		<summary type="html">&lt;p&gt;Adding &lt;a href=&quot;https://en.wikipedia.org/wiki/Short_description&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Short description&quot;&gt;short description&lt;/a&gt;: &amp;quot;Mathematical process for constructing magic squares&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Mathematical process for constructing magic squares}}&lt;br /&gt;
[[File:SiameseMethod.gif|thumb|307px|A simple example of the Siamese method. Starting with &amp;quot;1&amp;quot;, boxes are filled diagonally up and right (↗). 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.]]&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Siamese method&amp;#039;&amp;#039;&amp;#039;, or &amp;#039;&amp;#039;&amp;#039;De la Loubère method&amp;#039;&amp;#039;&amp;#039;, is a simple method to construct any size of &amp;#039;&amp;#039;n&amp;#039;&amp;#039;-odd [[magic squares]] (i.e. number squares in which the sums of all rows, columns and diagonals are identical). The method was brought to [[France]] in 1688 by the French [[mathematician]] and [[diplomat]] [[Simon de la Loubère]],&amp;lt;ref&amp;gt;{{cite book |title=Number Story: From Counting to Cryptography |url=https://archive.org/details/numberstoryfromc00higg_612 |url-access=registration |last=Higgins |first=Peter |year=2008 |publisher=Copernicus |location=New York |isbn=978-1-84800-000-1 |page=[https://archive.org/details/numberstoryfromc00higg_612/page/n63 54] }} footnote 8&amp;lt;/ref&amp;gt; as he was returning from his 1687 embassy to the kingdom  of [[Siam]].&amp;lt;ref&amp;gt;&amp;#039;&amp;#039;Mathematical Circles Squared&amp;#039;&amp;#039; By Phillip E. Johnson, Howard Whitley Eves, p.22&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;&amp;#039;&amp;#039;CRC Concise Encyclopedia of Mathematics&amp;#039;&amp;#039; By Eric W. Weisstein, Page 1839 [https://books.google.com/books?id=uzIekOtnD2gC&amp;amp;pg=PA1839&amp;amp;dq=Loubere+Siam+magic+square&amp;amp;sig=0hwmj7fcQqclTG9uVgwY5fL5bgQ]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;&amp;#039;&amp;#039;The Zen of Magic Squares, Circles, and Stars&amp;#039;&amp;#039; By Clifford A. Pickover Page 38 [https://books.google.com/books?id=slpObYbvV4gC&amp;amp;pg=PA38&amp;amp;dq=Loubere+Siam+magic+square&amp;amp;sig=to5a7r-pEhNFV9iYe85lSSqtJq4]&amp;lt;/ref&amp;gt; The Siamese method makes the creation of [[magic square]]s straightforward.&lt;br /&gt;
&lt;br /&gt;
==Publication==&lt;br /&gt;
[[File:Siamese Square.jpg|thumb|A description of the Siamese method in [[Simon de la Loubère]]&amp;#039;s 1693 &amp;#039;&amp;#039;A new historical relation of the kingdom of Siam&amp;#039;&amp;#039;.]]&lt;br /&gt;
De la Loubère published his findings in his book &amp;#039;&amp;#039;A new historical relation of the kingdom of Siam&amp;#039;&amp;#039; (&amp;#039;&amp;#039;Du Royaume de Siam&amp;#039;&amp;#039;, 1693), under the chapter entitled &amp;#039;&amp;#039;The problem of the magical square according to the Indians&amp;#039;&amp;#039;.&amp;lt;ref name=p228&amp;gt;[http://dlxs.library.cornell.edu/cgi/t/text/pageviewer-idx?c=sea;idno=sea130;view=image;seq=258 &amp;#039;&amp;#039;A new historical relation of the kingdom of Siam&amp;#039;&amp;#039; p.228]&amp;lt;/ref&amp;gt;&lt;br /&gt;
Although the method is generally qualified as &amp;quot;Siamese&amp;quot;, which refers to de la Loubère&amp;#039;s travel to the country of Siam, de la Loubère himself learnt it from a Frenchman named M.Vincent (a doctor, who had first travelled to [[Persia]] and then to [[Siam]], and was returning to France with the de la Loubère embassy), who himself had learnt it in the city of [[Surat]] in [[India]]:&amp;lt;ref name=p228/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{blockquote|&amp;quot;Mr. Vincent, whom I have so often mentioned in my &amp;#039;&amp;#039;Relations&amp;#039;&amp;#039;, seeing me one day in the ship, during our return, studiously to range the Magical Squares after the method of &amp;#039;&amp;#039;[[Claude Gaspard Bachet de Méziriac|Bachet]]&amp;#039;&amp;#039;, informed me that the &amp;#039;&amp;#039;Indians&amp;#039;&amp;#039; of &amp;#039;&amp;#039;[[Surat]]te&amp;#039;&amp;#039; ranged them with much more facility, and taught me their method for the unequal squares only, having, he said, forgot that of the equal&amp;quot;|Simon de la Loubère, &amp;#039;&amp;#039;A new historical relation of the kingdom of Siam&amp;#039;&amp;#039;.&amp;lt;ref name=p228/&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==The method==&lt;br /&gt;
The method was surprising in its effectiveness and simplicity:&lt;br /&gt;
&lt;br /&gt;
{{blockquote|&amp;quot;I hope that it will not be unacceptable that I give the rules and the demonstration of this method, which is surprising for its extreme facility to execute a thing, which has appeared difficult to our Mathematicians&amp;quot;|Simon de la Loubère, &amp;#039;&amp;#039;A new historical relation of the kingdom of Siam&amp;#039;&amp;#039;.&amp;lt;ref name=p228 /&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
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]])).&lt;br /&gt;
&lt;br /&gt;
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 &amp;#039;&amp;#039;&amp;#039;up and right&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;↗&amp;#039;&amp;#039;&amp;#039;), one step at a time. When a move would leave the square, it is wrapped around to the last row or first column, respectively.&lt;br /&gt;
&lt;br /&gt;
If a filled box is encountered, one moves vertically &amp;#039;&amp;#039;&amp;#039;down one box&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;↓&amp;#039;&amp;#039;&amp;#039;) instead, then continuing as before.&lt;br /&gt;
&lt;br /&gt;
===Order-3 magic squares===&lt;br /&gt;
&lt;br /&gt;
{{col-begin|width=auto; margin:0.5em auto}}&lt;br /&gt;
{{col-break|valign=bottom}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:6em;height:6em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | step 1&lt;br /&gt;
|-&lt;br /&gt;
|   || 1 ||&lt;br /&gt;
|-&lt;br /&gt;
|   ||.  ||&lt;br /&gt;
|-&lt;br /&gt;
|   ||.  ||&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:6em;height:6em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | step 2&lt;br /&gt;
|-&lt;br /&gt;
|   || 1 ||&lt;br /&gt;
|-&lt;br /&gt;
|   || . ||&lt;br /&gt;
|-&lt;br /&gt;
|   ||   || 2&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:6em;height:6em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | step 3&lt;br /&gt;
|-&lt;br /&gt;
|   || 1 ||&lt;br /&gt;
|-&lt;br /&gt;
| 3 ||   ||&lt;br /&gt;
|-&lt;br /&gt;
|   ||   || 2&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:6em;height:6em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | step 4&lt;br /&gt;
|-&lt;br /&gt;
|   || 1 ||&lt;br /&gt;
|-&lt;br /&gt;
| 3 ||   ||&lt;br /&gt;
|-&lt;br /&gt;
| 4 ||   || 2&lt;br /&gt;
|}&lt;br /&gt;
{{col-end}}&lt;br /&gt;
&lt;br /&gt;
{{col-begin|width=auto; margin:0.5em auto}}&lt;br /&gt;
{{col-break|valign=bottom}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:6em;height:6em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | step 5&lt;br /&gt;
|-&lt;br /&gt;
|   || 1 || &lt;br /&gt;
|-&lt;br /&gt;
| 3 || 5 ||&lt;br /&gt;
|-&lt;br /&gt;
| 4 ||   || 2&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:6em;height:6em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | step 6&lt;br /&gt;
|-&lt;br /&gt;
|   || 1 || 6&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 5 ||&lt;br /&gt;
|-&lt;br /&gt;
| 4 ||   || 2&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:6em;height:6em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | step 7&lt;br /&gt;
|-&lt;br /&gt;
|   || 1 || 6&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 5 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 4 ||   || 2&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:6em;height:6em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | step 8&lt;br /&gt;
|-&lt;br /&gt;
| 8 || 1 || 6&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 5 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 4 ||   || 2&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:6em;height:6em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | step 9&lt;br /&gt;
|-&lt;br /&gt;
| 8 || 1 || 6&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 5 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 9 || 2&lt;br /&gt;
|}&lt;br /&gt;
{{col-end}}&lt;br /&gt;
&lt;br /&gt;
===Order-5 magic squares===&lt;br /&gt;
&lt;br /&gt;
{{col-begin|width=auto; margin:0.5em auto}}&lt;br /&gt;
{{col-break|valign=bottom}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:10em;height:10em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Step 1&lt;br /&gt;
|-&lt;br /&gt;
|   ||   || 1 ||   ||&lt;br /&gt;
|-&lt;br /&gt;
|   ||   || . ||   ||&lt;br /&gt;
|-&lt;br /&gt;
|   ||   || . ||   ||&lt;br /&gt;
|-&lt;br /&gt;
|   ||   || . ||   ||&lt;br /&gt;
|-&lt;br /&gt;
|   ||   || . ||   ||&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:10em;height:10em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Step 2&lt;br /&gt;
|-&lt;br /&gt;
|  ||  || 1 ||  ||&lt;br /&gt;
|-&lt;br /&gt;
|  ||  || . ||  ||&lt;br /&gt;
|-&lt;br /&gt;
|  ||  || . ||  ||&lt;br /&gt;
|-&lt;br /&gt;
|  ||  || . ||  || 3&lt;br /&gt;
|-&lt;br /&gt;
|  ||  || . || 2 ||&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:10em;height:10em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Step 3&lt;br /&gt;
|-&lt;br /&gt;
|  ||  || 1 ||  ||&lt;br /&gt;
|-&lt;br /&gt;
|  || 5 ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| 4 ||  || . ||  ||&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || 3&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  || 2 ||&lt;br /&gt;
|}&lt;br /&gt;
{{col-end}}&lt;br /&gt;
&lt;br /&gt;
{{col-begin|width=auto; margin:0.5em auto}}&lt;br /&gt;
{{col-break|valign=bottom}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:10em;height:10em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Step 4&lt;br /&gt;
|-&lt;br /&gt;
|  ||  || 1 || 8 ||&lt;br /&gt;
|-&lt;br /&gt;
|  || 5 || 7 ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || . ||  ||&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || 3&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  || 2 ||&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:10em;height:10em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Step 5&lt;br /&gt;
|-&lt;br /&gt;
|  ||  || 1 || 8 || 15&lt;br /&gt;
|-&lt;br /&gt;
|  || 5 || 7 || 14 ||&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 13 ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| 10 || 12 ||  ||  || 3&lt;br /&gt;
|-&lt;br /&gt;
| 11 ||  ||  || 2 || 9&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:10em;height:10em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Step 6&lt;br /&gt;
|-&lt;br /&gt;
| 17 || 24 || 1 || 8 || 15&lt;br /&gt;
|-&lt;br /&gt;
| 23 || 5 || 7 || 14 || 16&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 13 || 20 || 22&lt;br /&gt;
|-&lt;br /&gt;
| 10 || 12 || 19 || 21 || 3&lt;br /&gt;
|-&lt;br /&gt;
| 11 || 18 || 25 || 2 || 9&lt;br /&gt;
|}&lt;br /&gt;
{{col-end}}&lt;br /&gt;
&lt;br /&gt;
===Other sizes===&lt;br /&gt;
Any &amp;#039;&amp;#039;n&amp;#039;&amp;#039;-odd square (&amp;quot;[[Parity (mathematics)|odd]]-order square&amp;quot;) can be thus built into a magic square. The Siamese method does not work however for n-even squares (&amp;quot;[[Parity (mathematics)|even]]-order squares&amp;quot;, such as 2 rows/ 2 columns, 4 rows/ 4 columns etc...).&lt;br /&gt;
&lt;br /&gt;
{{col-begin|width=auto; margin:0.5em auto}}&lt;br /&gt;
{{col-break|valign=bottom}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:6em;height:6em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | Order 3&lt;br /&gt;
|-&lt;br /&gt;
| 8 || 1 || 6&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 5 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 9 || 2&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:10em;height:10em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Order 5&lt;br /&gt;
|-&lt;br /&gt;
| 17 || 24 || 1 || 8 || 15&lt;br /&gt;
|-&lt;br /&gt;
| 23 || 5 || 7 || 14 || 16&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 13 || 20 || 22&lt;br /&gt;
|-&lt;br /&gt;
| 10 || 12 || 19 || 21 || 3&lt;br /&gt;
|-&lt;br /&gt;
| 11 || 18 || 25 || 2 || 9&lt;br /&gt;
|}&lt;br /&gt;
{{col-break|valign=bottom|gap=2em}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:18em;height:18em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;9&amp;quot; | Order 9&lt;br /&gt;
|-&lt;br /&gt;
| 47 || 58 || 69 || 80 || 1 || 12 || 23 || 34 || 45&lt;br /&gt;
|-&lt;br /&gt;
| 57 || 68 || 79 || 9 || 11 || 22 || 33 || 44 || 46&lt;br /&gt;
|-&lt;br /&gt;
| 67 || 78 || 8 || 10 || 21 || 32 || 43 || 54 || 56&lt;br /&gt;
|-&lt;br /&gt;
| 77 || 7 || 18 || 20 || 31 || 42 || 53 || 55 || 66&lt;br /&gt;
|-&lt;br /&gt;
| 6 || 17 || 19 || 30 || 41 || 52 || 63 || 65 || 76&lt;br /&gt;
|-&lt;br /&gt;
| 16 || 27 || 29 || 40 || 51 || 62 || 64 || 75 || 5&lt;br /&gt;
|-&lt;br /&gt;
| 26 || 28 || 39 || 50 || 61 || 72 || 74 || 4 || 15&lt;br /&gt;
|-&lt;br /&gt;
| 36 || 38 || 49 || 60 || 71 || 73 || 3 || 14 || 25&lt;br /&gt;
|-&lt;br /&gt;
| 37 || 48 || 59 || 70 || 81 || 2 || 13 || 24 || 35&lt;br /&gt;
|}&lt;br /&gt;
{{col-end}}&lt;br /&gt;
&lt;br /&gt;
===Other values===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:6em;height:6em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | Order 3&lt;br /&gt;
|-&lt;br /&gt;
| 40 || 5 || 30&lt;br /&gt;
|-&lt;br /&gt;
| 15 || 25 || 35&lt;br /&gt;
|-&lt;br /&gt;
| 20 || 45 || 10&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Other starting points===&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:9em;height:9em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | Order 3&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 700 || 300&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 200 || 400&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;100&amp;#039;&amp;#039;&amp;#039; || 600 || 800&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Rotations and reflections===&lt;br /&gt;
Numerous other magic squares can be deduced from the above by simple [[rotations]] and [[Reflection (mathematics)|reflections]].&lt;br /&gt;
&lt;br /&gt;
==Variations==&lt;br /&gt;
A slightly more complicated variation of this method exists in which the first number is placed in the box just above the center box. The fundamental movement for filling the boxes remains &amp;#039;&amp;#039;&amp;#039;up and right&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;↗&amp;#039;&amp;#039;&amp;#039;), one step at a time. However, if a filled box is encountered, one moves vertically &amp;#039;&amp;#039;&amp;#039;up two boxes&amp;#039;&amp;#039;&amp;#039; instead, then continuing as before.&lt;br /&gt;
 &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:10em;height:10em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Order 5&lt;br /&gt;
|-&lt;br /&gt;
|  23  ||  6  ||  19 || 2  ||  15&lt;br /&gt;
|-&lt;br /&gt;
|  10  || 18   ||  &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; || 14  || 22&lt;br /&gt;
|-&lt;br /&gt;
| 17   ||  5  ||  13 || 21  || 9&lt;br /&gt;
|-&lt;br /&gt;
| 4   ||  12  || 25  ||  8 || 16&lt;br /&gt;
|-&lt;br /&gt;
| 11   ||  24  ||  7 ||  20 || 3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Numerous variants can be obtained by simple rotations and reflections. The next square is equivalent to the above (a simple reflexion): the first number is placed in the box just below the center box. The fundamental movement for filling the boxes then becomes diagonally &amp;#039;&amp;#039;&amp;#039;down and right&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;↘&amp;#039;&amp;#039;&amp;#039;), one step at a time. If a filled box is encountered, one moves vertically &amp;#039;&amp;#039;&amp;#039;down two boxes&amp;#039;&amp;#039;&amp;#039; instead, then continuing as before.&amp;lt;ref name=p229&amp;gt;[http://dlxs.library.cornell.edu/cgi/t/text/pageviewer-idx?c=sea;idno=sea130;view=image;seq=259 &amp;#039;&amp;#039;A new historical relation of the kingdom of Siam&amp;#039;&amp;#039; p229]&amp;lt;/ref&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:0.5em auto;text-align:center;width:10em;height:10em;table-layout:fixed;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Order 5&lt;br /&gt;
|-&lt;br /&gt;
| 11 || 24 || 7 || 20 || 3&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 12 || 25 || 8 || 16&lt;br /&gt;
|-&lt;br /&gt;
| 17 || 5 || 13 || 21 || 9&lt;br /&gt;
|-&lt;br /&gt;
| 10 || 18 || &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; || 14 || 22&lt;br /&gt;
|-&lt;br /&gt;
| 23 || 6 || 19 || 2 || 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These variations, although not quite as simple as the basic Siamese method, are equivalent to the methods developed  by earlier Arab and European scholars, such as [[Manuel Moschopoulos]] (1315), [[Johann Faulhaber]] (1580&amp;amp;ndash;1635) and [[Claude Gaspard Bachet de Méziriac]] (1581&amp;amp;ndash;1638), and allowed to create magic squares similar to theirs.&amp;lt;ref name=p229/&amp;gt;&amp;lt;ref&amp;gt;&amp;#039;&amp;#039;The Zen of Magic Squares, Circles, and Stars&amp;#039;&amp;#039; by Clifford A. Pickover, 2002  p.37 [https://books.google.com/books?id=QxMdE_HlrQsC&amp;amp;pg=PA45&amp;amp;dq=Faulhaber+magic+squares&amp;amp;sig=ACfU3U16MpAfumGuHO8FEC39p4WkN_z3wQ#PPA37,M1]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Conway&amp;#039;s LUX method for magic squares]]&lt;br /&gt;
*[[Strachey method for magic squares]]&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Siamese Method}}&lt;br /&gt;
[[Category:Magic squares]]&lt;br /&gt;
[[Category:Search algorithms]]&lt;/div&gt;</summary>
		<author><name>imported&gt;SilkPyjamas</name></author>
	</entry>
</feed>