The Lucas Magic Square

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
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.
Contributed by: Ed Pegg Jr (August 2015)
Open content licensed under CC BY-NC-SA
Snapshots
Details
detailSectionParagraphPermanent Citation
"The Lucas Magic Square"
http://demonstrations.wolfram.com/TheLucasMagicSquare/
Wolfram Demonstrations Project
Published: August 13 2015