I created a real-time odd magic square generator. This is the only calculator that can generate magic squares in real time that I'm aware of. You can create any odd-sized magic square (3x3, 5x5, 7x7, 9x9).
I noticed a constant in all odd magic squares with repeating triple-digit magic sums. The center values are multiples of 37, a number that factors into every repeating triple-digit number.
The code is free to download!
If someone out there can integrate this odd magic square generator with an even sized generator, I'd really appreciate it if you replied with the updated code in the comments!
Otherwise, enjoy exploring the calculator and remember that although it displays options to build on even sized squares, it won't work/build upon them. The code only works for ODD sized squares, so make sure you're picking square sizes 3, 5, 7 and 9!
[ Ссылка ]
Ещё видео!