# The Lucas Magic Square

The Lucas Magic Square

In a magic square, the sums along a row, column, or diagonal are all the same. In the 1890s, Édouard Lucas classified all 3×3 magic squares with distinct integer values, as shown in the thumbnail. This Demonstration uses the Lucas technique to generate a few thousand such squares.