Counter
Mathematics Dictionary
Dr. K. G. Shih

Magic Squares
Subjects


Answers


Q01. How to make magic square using 1 to (2*n+1)
Alwasy move number from row and column to (row+1) and (column+1)
  • Step 1
    • Make a square grid matrix.
    • Let row 1 at top and center column at C.
    • Put 1 at the center of top row 1.
  • Step 2
    • Put 2 or next number current row + 1 and current column + 1.
    • If it is outside the square, put number at bottom row and current column + 1.
    • If the new position is occupied, put the number just below previous numbe.
  • Step 3
    • Put 3 or next number at current row +1 and current column + 1.
    • If it is outside the square, put then number at current row +1 and column 1.

Go to Begin

Q02. Find patterns on computer
  • Magic square program Numbers from 1 to (2*n+1)^2
  • Procedures
    • Click program.
    • Click run at current location (No down load).
    • Click yes to run the program.
    • Give options (3, 5, 7, 9, 11, 13 or 15)
      • 3 for matrix order 3 (Number 1 to 9)
      • 5 for matrix order 5 (Number 1 to 25)
      • 7 for matrix order 7 (Number 1 to 49)
      • 9 for matrix order 9 (Number 1 to 81)
      • 11 for matrix order 11 (Number 1 to 121)
      • 13 for matrix order 13 (Number 1 to 169)
      • 15 for matrix order 15 (Number 1 to 225)

Go to Begin

Q03. Square matrix
Sample of matrix :
(1,1) means row 1 and column 1.
1,1 1,2 1,3
2,1 2,2 2,3
3,1 3,2 3,3

Go to Begin

Q04. Example : Magic square for 1 to 9
Step 1 :
put 1 at center of top row.
0 1 0
0 0 0
0 0 0
Step 2 :
Position for 1 is (1,2). Position for 2 is (0,3)
It is ouside the square matrix.
Put 2 at bottom row and column 3. That is (3,3).
0 1 0
0 0 0
0 0 2
Step 3 :
Position for 2 is (3,3). Position for 3 is (2,4)
It is ouside the square matrix.
Put 3 at row 2 and column 1. That is (2,1).
0 1 0
3 0 0
0 0 2
Step 4 :
Position for 3 is (2,1). Position for 4 is (2,2)
(2,2) is occupied by 1.
Put 4 just below 3. That is (1,1).
0 1 0
3 0 0
4 0 2
Step 5 :
Position for 4 is (1,1). Position for 5 is (2,2)
Hence 5 is at (2,2).
0 1 0
3 5 0
4 0 2
Step 6 :
Position for 5 is (2,2).
Position for 6 is (1,3)
0 1 6
3 5 0
4 0 2
Step 7 :
Position for 6 is (1,3).
New Position for 6 is (0,4).
Put 7 just below 6 at (2,3).
0 1 6
3 5 7
4 0 2
Step 8 :
Position for 7 is (2,3).
New Position for 8 is (1,4).
Put 8 at (1,1).
8 1 6
3 5 7
4 0 2
Step 9 :
Position for 8 is (1,1).
New Position for 9 is (0,2).
Put 9 at (3,2).
8 1 6
3 5 7
4 9 2

Go to Begin

Q05. Answer

Go to Begin

Q06. Answer

Go to Begin

Q07. Answer

Go to Begin

Q08. Answer

Go to Begin

Q09. Answer

Go to Begin

Q10. Answer

Go to Begin

Show Room of MD2002 Contact Dr. Shih Math Examples Room

Copyright © Dr. K. G. Shih, Nova Scotia, Canada.

1