Magic square¶
In mathematics, especially historical and recreational mathematics, a magic square is a square array of numbers, usually positive integers, where the sums of the numbers in each row, each column, and both main diagonals are the same.
Core Idea¶
Magic square is treated here as the recurring mathematics, logic, and statistics identity summarized by this source-grounded definition: In mathematics, especially historical and recreational mathematics, a magic square is a square array of numbers, usually positive integers, where the sums of the numbers in each row, each column, and both main diagonals are the same. In mathematics, especially historical and recreational mathematics, a magic square is a square array of numbers, usually positive integers, where the sums of the numbers in each row, each column, and both main diagonals are the same.
Scope of Application¶
-
History. Around this time, some of these squares were increasingly used in conjunction with magic letters, as in Shams Al-ma'arif, for occult purposes.
-
Europe after 15th century. In an attempt to explain its working, de la Loubere used the primary numbers and root numbers, and rediscovered the method of adding two preliminary squares.
-
History. By the end of the 12th century, the general methods for constructing magic squares were well established.
-
China. This is the earliest appearance of a magic square on record; and it was mainly used for divination and astrology.
-
China. The oldest surviving Chinese treatise that displays magic squares of order larger than 3 is Yang Hui's Xugu zheqi suanfa (Continuation of Ancient Mathematical Methods for Elucidating the Strange) written in.
Clarity¶
A clear use of Magic square names the carrier, the operative relation, and the conditions under which the source treats the identity as present. The minimal definition is In mathematics, especially historical and recreational mathematics, a magic square is a square array of numbers, usually positive integers, where the sums of the numbers in each row, each column, and both main diagonals are the same.
Manages Complexity¶
Magic square compresses multiple mathematics, logic, and statistics details into a stable diagnostic relation. The source shows both the central mechanism—in the example below, a 4×4 associative magic square on the left is transformed into a square on the right by interchanging the second and third row, yielding the famous Durer's magic square.—and the practical consequence—given any magic square, another magic square of the same order.
Abstract Reasoning¶
- Type the carrier. Identify the mathematics, logic, and statistics entities to which the claim applies.
- State the relation. Use the source-grounded identity: In mathematics, especially historical and recreational mathematics, a magic square is a square array of numbers, usually positive integers, where the sums of the numbers in each row, each column, and both main diagonals are the same.
- Check operation and conditions.
Knowledge Transfer¶
Within the home domain. Knowledge about Magic square transfers literally when a new case preserves the same carrier type, relation, and recognition test. Around this time, some of these squares were increasingly used in conjunction with magic letters, as in Shams Al-ma'arif, for occult purposes. In an attempt to explain its working, de la Loubere used the primary numbers and root numbers, and rediscovered the method of adding two preliminary squares. Beyond the home domain. No canonical parent is asserted for Magic square.
Relationships to Other Abstractions¶
Current abstraction Magic square Domain-specific
Parents (1) — more general patterns this builds on
-
Magic square is a kind of Matrix Domain-specific
A magic square is a square numeric matrix with equal row, column, and main-diagonal sums.
Hierarchy paths (5) — routes to 5 parentless roots
- Magic square → Matrix → Tensor → Transformation → Function (Mapping)
- Magic square → Matrix → Linearity
- Magic square → Matrix → Representation → Abstraction
- Magic square → Matrix → Tensor → Invariance
- Magic square → Matrix → Tensor → Vector Space → Set and Membership
Neighborhood in Abstraction Space¶
Magic square sits in a sparse region of the domain-specific corpus (88th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.
Family — Geometric Figures & Constructions (32 abstractions)
Nearest neighbors
- Squared Triangular Number — 0.82
- Nome (mathematics) — 0.82
- False position method — 0.81
- Newton–Gauss line — 0.80
- Integral part — 0.80
Computed from structural-signature embeddings · 2026-10-08