Magic Square Generator
Generate magic squares for odd, doubly-even and singly-even orders.
A magic square is an n×n grid of 1..n² where each row, column and main diagonal sums to the same value.
Magic constant: 65
| 17 | 24 | 1 | 8 | 15 |
| 23 | 5 | 7 | 14 | 16 |
| 4 | 6 | 13 | 20 | 22 |
| 10 | 12 | 19 | 21 | 3 |
| 11 | 18 | 25 | 2 | 9 |