# 平方数幻方

**平方数幻方**是一个 3 × 3 幻方，即一个每行、每列以及两条主对角线之和都相等的方阵，其九个元素全部是完全平方数。核心的未解问题是：这样的方阵能否以九个互不相同的整数元素存在；迄今既未找到实例，也没有已知的不可能性证明。<sup>[1](https://arxiv.org/abs/2609.09351)</sup><sup> • </sup><sup>[2](https://www.entertainmentmathematics.nl/Entertainment/Descriptions/Excel/MagicSquares/Magic_Squares37.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 一个 3 × 3 幻方，其九个元素为正的、两两互异的完全平方数，且行、列、对角线之和相等<sup>[3](https://magic-squares.mynka.tech/en/about)</sup> |
| 现状 | 未解问题，由拉巴尔（LaBar）以此形式提出；既无实例，也无不可能性证明<sup>[4](https://www.mat.uc.cl/archivos/arithmetic-progressions-of-integral-points-on-congruent-elliptic-curves-rank-two.pdf)</sup><sup> • </sup><sup>[2](https://www.entertainmentmathematics.nl/Entertainment/Descriptions/Excel/MagicSquares/Magic_Squares37.html)</sup> |
| 最佳部分结果 | 布雷姆纳（Bremner）找到了一个含七个平方数元素的幻方；八个是否可能同样未知<sup>[4](https://www.mat.uc.cl/archivos/arithmetic-progressions-of-integral-points-on-congruent-elliptic-curves-rank-two.pdf)</sup> |
| 等价问题 | 罗伯逊（Robertson）证明该问题等价于有理直角三角形三元组上的条件，以及形如 \( y^{2} = x^{3} - n^{2}x \) 的椭圆曲线上的条件<sup>[4](https://www.mat.uc.cl/archivos/arithmetic-progressions-of-integral-points-on-congruent-elliptic-curves-rank-two.pdf)</sup><sup> • </sup><sup>[5](https://www.math.ucdavis.edu/~deloera/MISC/LA-BIBLIO/trunk/Halleck1.pdf)</sup> |
| 更高阶 | 欧拉（Euler）构造了一个 4 × 4 的平方数幻方，因此困难是 3 阶所特有的<sup>[7](https://oeis.org/A358445)</sup> |

## 问题

在娱乐数学中，n 阶正规幻方是一个 n × n 方阵，其元素为 1 到 n² 的互异整数，且每行、每列和每条主对角线之和都等于同一个常数。3 × 3 情形是最小的非平凡情形，其结构已被完全理解：在旋转和反射的意义下，所有三阶幻方只有两种类型，每种由三个基元素生成。<sup>[8](https://arxiv.org/abs/math/0409468)</sup>

平方数幻方提出了一个更尖锐的问题：九个元素能否全部是完全平方数而仍然互异？拉巴尔以此形式提出了该问题，它也出现在理查德·盖伊（Richard Guy，卡尔加里大学数学家，《数论中的未解问题》的合著者）的未解问题集中。<sup>[4](https://www.mat.uc.cl/archivos/arithmetic-progressions-of-integral-points-on-congruent-elliptic-curves-rank-two.pdf)</sup><sup> • </sup><sup>[5](https://www.math.ucdavis.edu/~deloera/MISC/LA-BIBLIO/trunk/Halleck1.pdf)</sup> 截至 2016 年 1 月，既无构造也无不可能性证明，此后情况未有改变。<sup>[2](https://www.entertainmentmathematics.nl/Entertainment/Descriptions/Excel/MagicSquares/Magic_Squares37.html)</sup>

## 3 × 3 幻方的结构

三阶幻方的分类是每一次搜索的起点。对每个阿贝尔群，每个 3 × 3 幻方都有用三个参数 E、x、y 的唯一表示，其中 E 是中心元素；该定理对所有此类幻方进行了分类，但本身并未说明元素能否为平方数。<sup>[6](https://magic-squares.mynka.tech/en/squares-of-squares)</sup><sup> • </sup><sup>[9](https://magic-squares.mynka.tech/en/theory/magic-squares-3x3)</sup>

这种参数化对候选幻方施加了严格的约束。

## 与椭圆曲线的联系

这个问题并非孤立的智力游戏；它与数论的核心对象紧密相连。约翰·罗伯逊（John Robertson）证明了一个刻画，表明以下问题是等价的：证明或否证可以构造出含九个互异完全平方数的 3 × 3 幻方，以及有理直角三角形三元组上的条件，后者又联系到形如 \( y^{2} = x^{3} - n^{2}x \) 的椭圆曲线，其中 n 是边长为有理数的直角三角形的面积。<sup>[4](https://www.mat.uc.cl/archivos/arithmetic-progressions-of-integral-points-on-congruent-elliptic-curves-rank-two.pdf)</sup><sup> • </sup><sup>[5](https://www.math.ucdavis.edu/~deloera/MISC/LA-BIBLIO/trunk/Halleck1.pdf)</sup><sup> • </sup><sup>[11](https://www.wstein.org/Tables/elliptic_curves_in_nature/congruent_number_problem/)</sup>

这种形状的曲线就是同余数曲线：一个无平方因子的整数 n 是同余数，即它是某个有理直角三角形的面积，当且仅当该曲线具有正秩。因此，平方数幻方问题与同余数问题处于同一算术图景之中，后者是椭圆曲线理论的经典应用之一。<sup>[4](https://www.mat.uc.cl/archivos/arithmetic-progressions-of-integral-points-on-congruent-elliptic-curves-rank-two.pdf)</sup>

## 部分结果：九个中的七个平方数

既然九个平方数遥不可及，注意力便转向一个幻方可以有多少个平方数元素。安德鲁·布雷姆纳（Andrew Bremner）找到了一个含七个平方数元素的幻方：

| 373² | 289² | 565² |
|---|---|---|
| 360721 | 425² | 23² |
| 205² | 527² | 222121 |

这里九个格子中有七个是完全平方数（360721 和 222121 不是）。含八个平方数元素的实例是否存在尚不清楚。<sup>[4](https://www.mat.uc.cl/archivos/arithmetic-progressions-of-integral-points-on-congruent-elliptic-curves-rank-two.pdf)</sup> 该部分问题按分级尺度研究：4/9 或 5/9 的结果描述的是一个保证为平方数值的格子的掩码，而非精确计数，因为其他格子也可能恰好是平方数。<sup>[6](https://magic-squares.mynka.tech/en/squares-of-squares)</sup>

7/9 情形有其自身的未解问题，即唯一性。证明现有的 7/9 族没有对手，将同时排除 8/9 型和 9/9 型的幻方，但仅仅证明不存在 9/9 幻方，7/9 族的唯一性仍未解决；作为逻辑上独立的问题，两者同属一条研究路线。<sup>[3](https://magic-squares.mynka.tech/en/about)</sup>

## 更高阶与代数几何视角

困难是 3 阶所特有的。莱昂哈德·欧拉（Leonhard Euler）构造了一个 4 × 4 的平方数幻方，记录于 OEIS 条目 A358445，因此四阶平方数幻方确实存在。<sup>[7](https://oeis.org/A358445)</sup> 更一般地，由互异的 k 次幂构成的幻方已知在阶数 N 足够大时存在，对 \( 2 \leqslant k \leqslant 4 \) 已证明当 N 超过诸如 \( 2^{k+1} \) 之类的界时存在。<sup>[10](https://arxiv.org/abs/2411.01091)</sup>

近期的工作将三阶问题重新表述于代数几何之中。参数化 3 × 3 平方数幻方的曲面是射影 8 空间中六个二次曲面的一个奇异完全交；阿舍·奥尔（Asher Auel）和本杰明·辛格（Benjamin Singer，研究该曲面几何的数学家）通过 Gale 对偶计算了其几何自同构群、其拓扑不变量与霍奇菱形，以及其几何皮卡群的一个显式秩 518 子格，接近霍奇理论上界 544。<sup>[1](https://arxiv.org/abs/2609.09351)</sup> 这套几何工具为组织任何解（若存在）都必须克服的算术障碍提供了新途径。

## References

1. [Asher Auel, Benjamin Singer. The algebraic geometry of 3-by-3 magic squares of squares. arXiv.](https://arxiv.org/abs/2609.09351)
2. [Magic Squares (37), Entertainment Mathematics](https://www.entertainmentmathematics.nl/Entertainment/Descriptions/Excel/MagicSquares/Magic_Squares37.html)
3. [About the Magic Squares Research Project, magic-squares.mynka.tech](https://magic-squares.mynka.tech/en/about)
4. [Arithmetic progressions of integral points on congruent elliptic curves of rank two, Universidad Católica de Chile](https://www.mat.uc.cl/archivos/arithmetic-progressions-of-integral-points-on-congruent-elliptic-curves-rank-two.pdf)
5. [Lattice points on circles, squares in arithmetic progression (Halleck), UC Davis bibliography](https://www.math.ucdavis.edu/~deloera/MISC/LA-BIBLIO/trunk/Halleck1.pdf)
6. [The 3×3 Magic Square of Squares Problem, magic-squares.mynka.tech](https://magic-squares.mynka.tech/en/squares-of-squares)
7. [OEIS A358445: Euler's 4 × 4 magic square of squares](https://oeis.org/A358445)
8. [Guoce Xin (2004). Constructing All Magic Squares of Order Three. arXiv.](https://arxiv.org/abs/math/0409468)
9. [3×3 Magic Squares — General Form and Classification Proof, magic-squares.mynka.tech](https://magic-squares.mynka.tech/en/theory/magic-squares-3x3)
10. [Existence of K-multimagic squares and magic squares of kth powers with distinct entries. arXiv.](https://arxiv.org/abs/2411.01091)
11. [The Congruent Number Problem - William Stein](https://www.wstein.org/Tables/elliptic_curves_in_nature/congruent_number_problem/)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Number theory › Diophantine problems and approximation › Linear and additive Diophantine equations

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/magic-square-of-squares

English original: https://www.edgepedia.org/magic-square-of-squares
