MAGIC SQUARES will have numbers giving same total row wise, column wise and diagonal wise.
The resulting square will be a magic square if same number is added to all cells or each cell is multiplied by same number.
Rows and colums can be interchanged.
So you can create many types of magic squares
Input a
Input b
Mean x
Row or column or diagonal sum =
Demo Magic Square 3 by 3 (for many combinations)
x-a
x+a-b
x+b
x+a+b
x
x-a-b
x-b
x+b-a
x+a
Changing a, b to any positive number but a is not equal to b
Input a
b
c
d
Mean x
Row or column or diagonal sum =
Demo Magic Square 4 by 4 (for many combinations)
x+a
x-a-d
x+b+d
x-b
x-a+c
x+d
x-c
x+a-d
x-b-c
x+c
x-d
x+b+d
x+b
x+a-c
x-b+c
x-a
Changing a, b,c and d to any positive number but all different
Magic Square 3 by 3 starting with sum of 15 18 21 (adding multiple of 3)
Input sum of magic sq
Magic Square 4 by 4 starting with sum of 34 38 42 (adding multiple of 4)
Input sum of magic sq
Magic Square 5 by 5 starting with sum of 65 70 75 (adding multiple of 5)
Input sum of magic sq
Magic Square 6 by 6 (Create many combination choosing two nos)
Multily by
Add each cell by
Row or column or diagonal sum
Magic Square 7 by 7 (Create many combination choosing two nos)
Multily by
Add each cell by
Row or column or diagonal sum
Magic Square 8 by 8 (Create many combination choosing two nos)
Multily by
Add each cell by
Row or column or diagonal sum
Magic Square 9 by 9 (Create many combination choosing two nos)
Multily by
Add each cell by
Row or column or diagonal sum
Magic Square 10 by 10 (Create many combination choosing two nos)
Multily by
Add each cell by
Row or column or diagonal sum
Magic Square 11 by 11 (Create many combination choosing two nos)
Multily by
Add each cell by
Row or column or diagonal sum
Magic Square 12 by 12 (Create many combination choosing two nos)
Multily by
Add each cell by
Row or column or diagonal sum
Visit: http://www.asia-oss.net/aossrep/magicsquare.htm