Blog
Magic Squares
In a magic square of order n, every row, column and diagonal add up to the same number while using each of 1 through n squared exactly once. Here is how to build them, and why the odd, even and doubly even cases each need a trick of their own.