# 互相正交拉丁方

**互相正交拉丁方**（mutually orthogonal Latin squares，MOLS）是同一阶数 n、同一符号集上的一组拉丁方，其中任意两个都正交：把两个方逐格叠合时，n² 个有序符号对恰好各出现一次。它们属于组合设计理论，与有限几何、纠错码和统计试验设计都有联系。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC19005/)</sup><sup> • </sup><sup>[2](https://androma.org/page/Combinatorial%20Design%20Theory)</sup>

| 要点 | 说明 |
|---|---|
| 定义 | 若对每一对 i ≠ j，遍历所有格子所得的有序对 (L_i(r,c), L_j(r,c)) 都恰好各出现一次，则称 n 阶方 L₁, …, L_t 互相正交<sup>[2](https://androma.org/page/Combinatorial%20Design%20Theory)</sup> |
| 上界 | n 阶互相正交拉丁方不多于 n − 1 个；达到 n − 1 个的一组称为完备组<sup>[3](https://encyclopediaofmath.org/wiki/Orthogonal_Latin_squares)</sup> |
| 素数幂构造 | 若 q 为素数幂，则存在 q − 1 个 q 阶 MOLS，由含 q 个元素的有限域构造<sup>[4](https://webusers.imj-prg.fr/~michel.waldschmidt/articles/pdf/FiniteFieldsCIMPA25072010.pdf)</sup> |
| 几何 | 阶 n > 1 的仿射平面存在，当且仅当 n 阶 MOLS 有 n − 1 个<sup>[5](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Combinatorics_%28Morris%29/04%3A_Design_Theory/18%3A_More_Designs/18.03%3A_Affine_Planes)</sup> |
| 欧拉猜想 | 欧拉猜想当 n ≡ 2 (mod 4) 时一对也不存在；玻色、什里坎德与帕克于 1960 年对所有 n = 4t + 2 > 6 推翻了这一猜想<sup>[6](https://www.math.uci.edu/~brusso/%5B14%5DBosShrParCJM1960.pdf)</sup> |
| 6 阶 | 6 阶正交拉丁方一对也不存在，加斯东·塔里 1901 年穷举所有排法予以证明<sup>[7](https://old.maa.org/press/periodicals/convergence/euler-squares-eulers-officer-problem)</sup> |
| 增长 | 已发表的最佳一般下界为 N(n) = Ω(n^{1/14.3})，归功于卢（Lu）<sup>[8](https://link.springer.com/article/10.1007/s10623-020-00771-6)</sup> |

## 定义

阶为 n 的拉丁方，是把 n 个符号排成 n × n 的阵列，使每个符号在每一行、每一列都恰好出现一次。<sup>[4](https://webusers.imj-prg.fr/~michel.waldschmidt/articles/pdf/FiniteFieldsCIMPA25072010.pdf)</sup> 两个定义在 n 个符号上的拉丁方 L₁ 与 L₂ 正交，是指逐格读取两方所得的 n² 个有序对 (a_ij, b_ij) 中，每个有序符号对都恰好出现一次。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC19005/)</sup> 若一组方中任意两个成员都正交，则称这组方互相正交，或称两两正交。<sup>[3](https://encyclopediaofmath.org/wiki/Orthogonal_Latin_squares)</sup>

正交性条件是一个计数条件：把两个正交方叠合，就在 n × n 的格子上得到全部 n² 个可能的符号对，每个恰好一次。一对正交方正是经典希腊-拉丁方背后的对象——在希腊-拉丁方中，两个方被读作比如军官的军阶与所属的团。<sup>[6](https://www.math.uci.edu/~brusso/%5B14%5DBosShrParCJM1960.pdf)</sup>

## 计数上界与完备组

n 阶互相正交拉丁方最多只能有 n − 1 个，因为一组中每个方在给定格子里固定一个不同的符号，而符号总共只有 n 个。<sup>[3](https://encyclopediaofmath.org/wiki/Orthogonal_Latin_squares)</sup> 达到这一上界的方组称为完备组。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC19005/)</sup> 对每个素数幂阶，完备组都是已知的；自然的猜想是完备组只存在于素数幂阶；截至《数学百科全书》1989 年的综述，已知的完备组只对应 n = p^k（p 为素数）。<sup>[3](https://encyclopediaofmath.org/wiki/Orthogonal_Latin_squares)</sup>

上界并不总能达到。n = 6 时情形极差：连一对 6 阶正交拉丁方都不存在。<sup>[9](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Combinatorics_%28Morris%29/04%253A_Design_Theory/16%253A_Latin_Squares/16.02%253A_Mutually_Orthogonal_Latin_Squares_%28MOLS%29)</sup> 布鲁克–赖泽定理给出了关于完备组的主要已知障碍：若 n ≡ 1 或 2 (mod 4)，且 n 的无平方因子部分含有一个素数 p ≡ 3 (mod 4)，则不存在 n 阶两两正交拉丁方的完备组；例如 n = 2p（p ≡ 3 (mod 4)）时就不存在。<sup>[3](https://encyclopediaofmath.org/wiki/Orthogonal_Latin_squares)</sup>

## 有限域构造

对每个素数幂 q，都存在由 q − 1 个 q 阶 MOLS 组成的完备组。把域元素记为 a₀ = 0, a₁ = 1, …, a_{q−1}，并对每个 s ∈ {1, …, q − 1} 定义 q × q 阵列 M(s)_{ij} = a_i·a_s + a_j。每个 M(s) 都是拉丁方：固定一行时，随着 j 变化，元素 a_i·a_s + a_j 互不相同；沿每一列同理。而任意两个不同的方 M(s₁) 与 M(s₂) 正交，这可由在域上解那个二元线性方程组得出。<sup>[4](https://webusers.imj-prg.fr/~michel.waldschmidt/articles/pdf/FiniteFieldsCIMPA25072010.pdf)</sup> 从几何上看，每个方对应一个非零斜率 a：行是第二个变量上的平移，列是非零斜率的仿射映射。<sup>[10](https://androma.org/theorems/5720)</sup>

对素数 n，同样的构造用普通模算术即可，得到 p − 1 个 p 阶 MOLS；推广到素数幂时，只需把模算术换成有限域算术。<sup>[9](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Combinatorics_%28Morris%29/04%253A_Design_Theory/16%253A_Latin_Squares/16.02%253A_Mutually_Orthogonal_Latin_Squares_%28MOLS%29)</sup>

## 欧拉的军官问题与 1960 年的解决

本课题的肇始问题出自莱昂哈德·欧拉：能否把来自 6 个军阶和 6 个团的 36 名军官排成一个 6 × 6 方阵，使每一行、每一列都含每个军阶一人、每个团一人。这正是一对 6 阶正交拉丁方的要求。<sup>[7](https://old.maa.org/press/periodicals/convergence/euler-squares-eulers-officer-problem)</sup>

加斯东·塔里 1901 年用手工穷举所有可能排法，解决了 6 阶情形，确认欧拉的 36 名军官无法如此排列。<sup>[7](https://old.maa.org/press/periodicals/convergence/euler-squares-eulers-officer-problem)</sup> 这个一般猜想悬置了一个多世纪，直到 1960 年，R. C. 玻色、S. S. 什里坎德与 E. T. 帕克用差方法等工具，证明它对每个大于 6 的阶 v = 4t + 2 都不成立；他们的合作论文于 1960 年发表在《加拿大数学杂志》上。<sup>[6](https://www.math.uci.edu/~brusso/%5B14%5DBosShrParCJM1960.pdf)</sup> 组合设计理论家查尔斯·J. 科尔本与杰弗里·H. 迪尼茨在 2001 年的一篇综述中，把玻色、什里坎德、帕克 1960 年的定理与威尔逊 1974 年的研究称为欧拉提出问题以来两百年间最大的突破，此后工作集中于使用两两平衡设计与横截设计的递归构造。<sup>[11](https://www.sciencedirect.com/science/article/abs/pii/S0378375800002767)</sup>

## 与有限几何的联系

MOLS 与有限平面是同一结构的两种视角。存在阶 n > 1 的仿射平面，当且仅当存在 n − 1 个 n 阶互相正交拉丁方。由一个平面出发，除水平与竖直两类之外，其余 n − 1 个平行线类各给出一个方：当点 (i, j) 落在直线 L_k 上时，就在格 (i, j) 中填 k；两个这样的方正交，反映的是两条不平行的直线恰交于一点。反之，由完备方组可构造出平面。<sup>[5](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Combinatorics_%28Morris%29/04%3A_Design_Theory/18%3A_More_Designs/18.03%3A_Affine_Planes)</sup> 添上无穷远线，就把仿射平面变成射影平面，所以完备的 MOLS 组同样等价于一个 n 阶射影平面。<sup>[3](https://encyclopediaofmath.org/wiki/Orthogonal_Latin_squares)</sup>

这一等价把困难的存在性问题在两个领域之间搬运。10 阶射影平面不存在（林（Lam）及其同事自 1980 年开始的工作最终确立了这一点），这蕴含 N(10) < 9；而 10 阶的一对正交方是存在的，故 2 ≤ N(10) < 9。<sup>[12](https://www.cecm.sfu.ca/organics/papers/lam/index.html)</sup> 完备的 MOLS 组还给出参数为 v = n² + n + 1、k = n + 1、λ = 1 的对称平衡不完全区组设计。<sup>[3](https://encyclopediaofmath.org/wiki/Orthogonal_Latin_squares)</sup>

## 大集合能有多大

对非素数幂的阶，MOLS 的最大个数 N(n) 只部分已知。《数学百科全书》的综述记载了下界，包括 N(12) ≥ 5、N(33) ≥ 3、N(35) ≥ 4、N(40) ≥ 4、N(45) ≥ 4，以及一般结果：当 n → ∞ 时 N(n) → ∞，且对充分大的 n 有 N(n) > n^{1/17} − 2。<sup>[3](https://encyclopediaofmath.org/wiki/Orthogonal_Latin_squares)</sup> 2020 年《设计、编码与密码学》上的一篇综述指出，指数不断改进的多项式下界陆续出现，其中最大者归功于卢，他证明了 N(n) = Ω(n^{1/14.3})。<sup>[8](https://link.springer.com/article/10.1007/s10623-020-00771-6)</sup>

计算枚举覆盖了小阶数。莫纳什大学的组合学家朱迪思·伊根与伊恩·M. 万利斯报告了对 n ≤ 9 的 MOLS 的计算机研究，确定了每个拉丁方种（species）的正交配偶数目、拥有正交配偶的方所占的比例，以及全部 MOLS 组在等价意义下的分类；他们还给出三个 10 阶拉丁方，是迄今发现的最接近 MOLS 组的三元组。<sup>[13](https://arxiv.org/abs/1406.3681)</sup>

## 应用

**试验设计。** R. A. 费希尔 1925 年提出，拉丁方可用于试验设计，主张应从符合设计的那些方中随机选取一个，并让随机化贯穿到分析之中。<sup>[14](https://www.sciencedirect.com/science/article/pii/S1747938X18301623)</sup> 费希尔指出，完备的 MOLS 组是一个合法的随机化集合；费希尔与耶茨发表了 3、4、5、7、8、9 阶的完备组，以支持设计工作。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC19005/)</sup> 在拉丁方设计中，一个处理因子针对两个区组因子安排，使每个处理在每一行、每一列各出现一次；方差分析随后把行效应、列效应与处理效应分离开。<sup>[15](https://www.sciencedirect.com/science/chapter/bookseries/pii/S0167506008709701)</sup> 希腊-拉丁方即两方正交的情形，它增加第三个区组因子，尽管在许多统计学教科书中出现，却很少真正用作试验设计。<sup>[15](https://www.sciencedirect.com/science/chapter/bookseries/pii/S0167506008709701)</sup>

**软件测试。** 正交拉丁方可用作编译器测试的试验设计。对三个各取四个水平的变量做穷举测试需要 4³ = 64 次，而拉丁方设计用 16 次即可两两覆盖同样的因子组合；一般地，可从 n³ 次穷举测试降到 n² 次拉丁方测试。<sup>[16](https://www.dcs.gla.ac.uk/~pat/cpM/choco4/latinSquares/papers/p1054-mandl.pdf)</sup>

**编码理论。** 若干类纠错码由互相正交拉丁方组导出，MOLS 构造还与信息论、数据通信和密码学中使用的叠加码有关。<sup>[17](https://ieeexplore.ieee.org/document/5391626/)</sup><sup> • </sup><sup>[18](https://www.researchgate.net/publication/255687217_SOME_CONSTRUCTIONS_OF_MUTUALLY_ORTHOGONAL_LATIN_SQUARES_AND_SUPERIMPOSED_CODES)</sup>

## References

1. [Irregular arrays and randomization, PNAS (PMC)](https://pmc.ncbi.nlm.nih.gov/articles/PMC19005/)
2. [Combinatorial Design Theory, Androma](https://androma.org/page/Combinatorial%20Design%20Theory)
3. [Orthogonal Latin squares, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Orthogonal_Latin_squares)
4. [Finite fields lecture notes, M. Waldschmidt, CIMPA (PDF)](https://webusers.imj-prg.fr/~michel.waldschmidt/articles/pdf/FiniteFieldsCIMPA25072010.pdf)
5. [18.3: Affine Planes, Mathematics LibreTexts](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Combinatorics_%28Morris%29/04%3A_Design_Theory/18%3A_More_Designs/18.03%3A_Affine_Planes)
6. [Bose, Shrikhande, Parker (1960), Further Results on the Construction of Mutually Orthogonal Latin Squares and the Falsity of Euler's Conjecture, Canadian Journal of Mathematics (PDF)](https://www.math.uci.edu/~brusso/%5B14%5DBosShrParCJM1960.pdf)
7. [Euler Squares – Euler's Officer Problem, Mathematical Association of America, Convergence](https://old.maa.org/press/periodicals/convergence/euler-squares-eulers-officer-problem)
8. [Enumerating extensions of mutually orthogonal Latin squares, Designs, Codes and Cryptography (Springer)](https://link.springer.com/article/10.1007/s10623-020-00771-6)
9. [16.2: Mutually Orthogonal Latin Squares (MOLS), Mathematics LibreTexts](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Combinatorics_%28Morris%29/04%253A_Design_Theory/16%253A_Latin_Squares/16.02%253A_Mutually_Orthogonal_Latin_Squares_%28MOLS%29)
10. [Finite Field Construction of Mutually Orthogonal Latin Squares, Androma](https://androma.org/theorems/5720)
11. [Colbourn, C. J., Dinitz, J. H. (2001). Mutually orthogonal latin squares: a brief survey of constructions, Journal of Statistical Planning and Inference](https://www.sciencedirect.com/science/article/abs/pii/S0378375800002767)
12. [The Search for a Finite Projective Plane of Order 10, CECM, Simon Fraser University](https://www.cecm.sfu.ca/organics/papers/lam/index.html)
13. [Egan, J., Wanless, I. M. Enumeration of MOLS of small order, arXiv:1406.3681](https://arxiv.org/abs/1406.3681)
14. [The use of Latin-square designs in educational and psychological research, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S1747938X18301623)
15. [Latin Squares as Experimental Designs, Annals of Discrete Mathematics, ScienceDirect](https://www.sciencedirect.com/science/chapter/bookseries/pii/S0167506008709701)
16. [Mandl, R. Orthogonal Latin squares: an application of experiment design to compiler testing (PDF)](https://www.dcs.gla.ac.uk/~pat/cpM/choco4/latinSquares/papers/p1054-mandl.pdf)
17. [Orthogonal Latin Square Codes, IBM Journal, IEEE Xplore](https://ieeexplore.ieee.org/document/5391626/)
18. [Some Constructions of Mutually Orthogonal Latin Squares and Superimposed Codes, ResearchGate](https://www.researchgate.net/publication/255687217_SOME_CONSTRUCTIONS_OF_MUTUALLY_ORTHOGONAL_LATIN_SQUARES_AND_SUPERIMPOSED_CODES)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Combinatorics › Combinatorial design theory

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/mutually-orthogonal-latin-squares

English original: https://www.edgepedia.org/mutually-orthogonal-latin-squares
