The smallest number in a magic square is 1 less than 3 times the largest in the square.
What is the number ? Is it possible to solve without a computer program ? No idea of the size of the matrix. I
s there a technique or is it a case of hit and miss ? If I knew the size of the grid, would it be much easier ? Thank you.
Suppose that I am going to consider (for the time being) only those magic squares that have distinct, consecutive integers for their entries.
How many entries are in a magic square with your constraints?
The number of entries is equal to the largest number - the smallest number + 1.
Let n = the largest number
Then 3n - 1 = the smallest number
The number of entries =
n - (3n - 1) + 1 =
n - 3n + 1 + 1
-2n + 2
Now, this number of entries is necessarily even, so for the usual magic squares,
we can consider only those squares which are 4 by 4, 6 by 6, 8 by 8, and so on.
Set -2n + 2 = 16 for beginners.
n = -7
3n - 1 =
3(-7) - 1 =
-22
So, the 16 numbers in that 4 by 4 magic square range from -22 to -7, inclusive.
Then the smallest number for that case is -22.
-------------
What if it is a 6 by 6 one? There are 36 entries.
Set -2n + 2 = 36
-2n = 34
n = -17
3n - 1 =
3(-17) - 1 =
-52
From smallest to largest, the 36 entries range from -52 to -17, inclusive.
Then the smallest number in that magic square is -52.
------------------
There exist magic squares for every n > 2, giving n^2 number of entries.
http://en.wikipedia.org/wiki/Magic_Square
Therefore, there are an infinite number of answers as to what is the smallest number is,
given that the smallest number (entry) is one less than three times the largest number
(entry).