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
Demo 3 by 3 Magic Square for sum (has to be multiple of 3)
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
Demo 3 by 3 Magic Square for chosen top row (will be corrected for sum to be multiple of 3)
a
b
c
x+c-a
x=(a+b+c)/3
x+a-c
2x-c
2x-b
2x-a
Changing a, b and c to any positive number. Sum of a+b+c should be multiple of 3. c will be corrected and magic square will be made with new c. Some combinations can lead to some cells with negative value
Demo 4 by 4 Magic Square for sum (has to be multiple of 4)
Demo 4 by 4 Magic Square for chosen top row
This can be date of birth demo when dd, mm, cc* and yy are a,b,c and d
cc* is century or first 2 digits in yyyy
Also called Ramanujam square, which encodes his birth date (22-12-1887) in its first row (default value set). The sum 139 is the 34th prime number, and the sum of the five consecutive primes (19+23+29+31+37). Works for any 4 numbers as the top row.
Magic Square 3 by 3: basic one with sum of 15, sum increased by adding multiple of 3
Magic Square 4 by 4: basic one with sum of 34, sum increased by adding multiple of 4
Magic Square 5 by 5: basic one with sum of 65, sum increased by adding multiple of 5
Magic Square 6 by 6: basic one with sum of 111, sum increased by adding multiple of 6
Magic Square 7 by 7: basic one with sum of 175, sum increased by adding multiple of 7
Magic Square 8 by 8: basic one with sum of 260, sum increased by adding multiple of 8
Magic Square 9 by 9: basic one with sum of 369, sum increased by adding multiple of 9
Magic Square 10 by 10: basic one with sum of 505, sum increased by adding multiple of 10
Magic Square 11 by 11: basic one with sum of 671, sum increased by adding multiple of 11
Magic Square 12 by 12: basic one with sum of 870, sum increased by adding multiple of 12