There's a very simple procedure resulting in a magic square. One starts by filling in the squares with the numbers in order. If one sums the rows and columns one finds that the sums are not all the same. However, upon flipping the two middle columns vertically, one gets a square will all the sums equal. Next, flipping the middle rows horizontally, the square ends up with all the sums equal.