This kept me amused for a while.
For the purposes of this post, a magic square is an arrangement of the numbers 1, 2, 3, 4, 5, 6, 7, 8, 9 each in a different cell of a 3 x 3 grid such that the numbers in every row, column, and diagonal of the grid add up to the same sum.
Here's an example ---...