Date: 11/17/2018
I have been interested in magic squares longer than I have been interested in magic. And I have been interested in magic for a long time. It was actually a close cousin of the magic square, the magic matrix as described by Martin Gardner in one of his mathemagic books, which got me into magic. But that is a story for another day.
In this article I want to explain two simple ways to construct an arbitrary 4x4 magic square.
6 | 11 | 0 | 13 |
1 | 12 | 7 | 10 |
15 | 2 | 9 | 4 |
8 | 5 | 14 | 3 |
Without going too much into the history and mathematics of magic squares, let me just say that there are several different 4x4 magic squares which you could substitute with the one shown here. This square is a bit unusual because it does not use the numbers 1 - 16 as usually the case but rather the numbers 0 - 15. This has a special reason to simplify calculations later on. The sum of the magic square is 30.
Convince yourself that this is indeed a magic square. Every row adds up to the same number 30. Every column, the two main diagonals, each of the four sub-squares, the center square, and the four corners, everything adds up to 30. You can find other combinations that add to 30. However this article is not meant as an exhaustive treatise on magic squares, but rather as a quick but solid introduction to perform an effect.
Ok, now that you have memorized this magic square, or recorded it somewhere secretly where you can copy it from, observe the following neat little property of our 4x4 magic square:
6 | 11 | 0 | 13 |
1 | 12 | 7 | 10 |
15 | 2 | 9 | 4 |
8 | 5 | 14 | 3 |
If you add any number X to the four numbers in the grey cells, the magic square remains a magic square and its sum becomes 30 + X. For example, add 5 to the four grey squares to get a magic square that sums to 35:
6 | 11 | 5 | 13 |
6 | 12 | 7 | 10 |
15 | 7 | 9 | 4 |
8 | 5 | 14 | 8 |
If you wanted to get a magic square summing to less than 30 you would have to introduce negative numbers. But it is usually better to subtly force a spectator to pick a number 30 or higher. You could say something to the effect of: "To make it more interesting pick a number higher than 30." This is all you need to know to write down a magic square adding up to any spectator selected number.
Of course, you will quickly see that this most simple method has a problem with high numbers. Say the spectator picks 154. Then your magic square would look like:
6 | 11 | 124 | 13 |
125 | 12 | 7 | 10 |
15 | 126 | 9 | 4 |
8 | 5 | 14 | 127 |
The four squares you change have three digit numbers and all the other squares which do not change have one or two digit numbers. This does not look beautiful and it communicates the method. An observant spectator could easily reconstruct the method you are using. As they say there is no free lunch. A simple method often comes with certain deficiencies. Don't give up, because there is a simple remedy that requires a bit more work, but it is not very difficult either.
Combining the easy method with what we have just learned gives us the formula 30 + Y * 4 + X for the sum of our magic square. We have two degrees of freedom. We can increase the value of each and every square and or we can increase the value of our 4 special squares shown in grey above.
I know, some of you will be reminded of ugly math classes, but let me break it down for you into simple and easy steps - a recipe to follow. Once the spectator names his chosen number do the following:
37 | 42 | 31 | 44 |
32 | 43 | 38 | 41 |
46 | 33 | 40 | 35 |
39 | 36 | 45 | 34 |
And now all numbers are close together with little fear of giving away the method.
Here is another example where X is not zero, 157:
Login to add a comment or reply.