Put number 1 in the middle of the top row. Put the numbers 2 up to n (= lenght of the square) each time (using a chess knight movement) 1 cell to the right and 2 cells down. Put number n+1 below number n. Put the numbers n+2 up to 2n each time 1 cell to the right and 2 cells down. Put number 2n+1 below number 2n. Etcetera ...
Put digit 1 up to 7 and 8 in the square 7x7 symmetric magic square
1 | 46 | 31 | 16 | 1 | 42 | 27 | 12 | ||||||||
5 | 5 | 39 | 24 | 9 | 43 | 35 | 20 | ||||||||
2 | 13 | 47 | 32 | 17 | 2 | 36 | 28 | ||||||||
6 | 21 | 6 | 40 | 25 | 10 | 44 | 29 | ||||||||
3 | 22 | 14 | 48 | 33 | 18 | 3 | 37 | ||||||||
7 | 30 | 15 | 7 | 41 | 26 | 11 | 45 | ||||||||
8 | 4 | 38 | 23 | 8 | 49 | 34 | 19 | 4 |
You can use this method to construct magic squares of odd order from 3x3 to infinite and you get a symmetric (but not pan)magic square.
See 3x3, 5x5, 7x7, 9x9, 11x11, 13x13, 15x15, 17x17, 19x19, 21x21, 23x23, 25x25, 27x27, 29x29 and 31x31