Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Steps: 1. Draw a pyramid on each side of the magic square. The pyramid should have two less squares on its base than the number of squares on the side of the magic square. This creates a square standing on a vertex. 2. Sequentially place the numbers 1 to n2 of the n x n magic square in the diagonals as shown in Figures 1 and 2. 3. Relocate any number not in the n x n square (that appears in the pyramids you added) to the opposite hole inside the square (shaded). Figure 1 The same Pyramid method can be used for any odd order magic square as shown below for the 5x5 square in Figure 2. Figure 2 We can use some properties of magic squares to construct more squares from the manufactured squares above; e.g. 1. A magic square will remain magic if any number is added to every number of a magic square. 2. A magic square will remain magic if any number multiplies every number of a magic square. 3. A magic square will remain magic if two rows, or columns, equidistant from the centre are interchanged. 4. An even order magic square ( n x n where n is even) will remain magic if the quadrants are interchanged. 5. An odd order magic square will remain magic if the partial quadrants and the row is interchanged. The first two properties would yield an infinite number of magic squares since there are an infinite number of numbers we could add to every number or multiply every number by to produce a different magic square. How boring, so let's restrict our search for different magic squares to just those that use the integers from 1 to n, for an n×n square. Also, let's not consider squares obtained only by rotation and/or reflection, for they are just a different view of the same square. That will leave us to first consider property number 3: 3. A magic square will remain magic if two rows, or columns, equidistant from the centre are interchanged. Let's consider only even number magic squares at first and see the squares produced. Below, I have used this property to produce 9 different squares and illustrate how the rows and columns may be interchanged. 6. The middle magic square on the middle row is the famous Durer "Melancholia'' with its date of 1514 on the bottom line.