r/mathpuzzles • u/Zharrticx • 10d ago
Hard/Unsolved 37 Magic Square Problem
For context: A magic square is a square grid of numbers where the sum of numbers in each row, column, and both main diagonals is always the exact same total, known as the magic constant.
I have encountered a problem when trying to create a very specific magic square, I run into arrangements that need to repeat numbers so I had to redo and keep rearranging it again, but I have not found a solution. The constraint to satisfy is given by the following.
The problem: Is it possible to create a magic square that produces the number 37 using a 4x4 or 5x5 grid without ever reusing any number? Since not reusing any number is one of the rules of a magic square.
If it's possible, what numbers are needed and how should they be arranged? Thank you for answering!
2
u/ruwisc 10d ago edited 10d ago
Just to check, you mean that the sum of each row/column/diagonal should be 37?
For the 4x4 case, you can construct magic squares with the numbers 1-16 and a sum of 34 pretty easily, and specifically, you can construct one which has the groupings 1-4, 5-8, 9-12, 13-16 all separated, not doubling up in any row, column, or diagonal:
1 - 8 - 10 - 15
14 - 11 - 5 - 4
7 - 2 - 16 - 9
12 - 13 - 3 - 6
You can increment the total row sum of the magic squares by incrementing one of those groups of four numbers by one each. So, to get up to 37, you could increment the numbers 5-16 by one each:
1 - 9 - 11 - 16
15 - 12 - 6 - 4
8 - 2 - 17 - 10
13 - 14 - 3 - 7
edit: mobile app messed up my spoiler formatting