Draw a 3x3 grid on paper. In this grid, enter the numbers one through nine so that each row, column and diagonal are the same sum.
Start this magic square with N being odd. Place a number 1 in the middle of the top row. Begin numbering the remaining squares in consecutive order, going from 1 to 2 to 3 and so forth.
Write the number 2 in the magic math square. The rule is after writing one number, try to go diagonally up and to the right to enter the next number. If you cannot go diagonally up and to the right, go down diagonally and to the right.
Enter the next number diagonally up and to the right. If this means the number "falls off the magic square," think of it as a text wrap. Insert the next number on the left side of that row.
Add consecutive numbers diagonally up and to the right until you have filled the 3x3 square with the numbers 1 through 9. Review your work to make sure all rows, columns and diagonals equal the same sum.