Mutually orthogonal Latin squares and the function N(n)
Latin squares that can be overlaid so every pair of symbols appears once. How many can exist at order n is known only for some n; order 10 is open.
On this page16 sections
Mutually orthogonal Latin squares are equivalent to orthogonal arrays and, at the top, to finite affine and projective planes, so they link design theory, finite geometry and experimental design, and they supply ingredients for coding-theory and graph constructions.
Grids of symbols that can be laid over each other without repeating any pair. How many such grids fit together is mostly unknown.
- 1Latin square: each symbol once per row and column
- 2Two squares orthogonal: all pairs distinct
- 3N(n): most squares that fit together
- 4Upper bound n-1, tight for projective planes
- 5Preprint raises bounds at 33 orders
Definitions. A Latin square of order is an array over symbols with each symbol once in each row and each column. Two squares are orthogonal if the pairs are all distinct, i.e. every ordered pair of symbols occurs exactly once. is the largest size of a set of mutually orthogonal Latin squares (MOLS).
An example you can build. For a prime , define for . Each is Latin since is invertible. For the pair determines and : subtracting gives , and is invertible mod . So . The same idea over a finite field gives for any prime power .
Upper bound. At most squares are possible. A set of MOLS is equivalent to a finite affine plane of order , which extends to a projective plane. So exactly when a projective plane of order exists. Planes are known for prime powers, the Bruck-Ryser theorem excludes orders 6 and 14, and a computer search by Lam (1991) excludes 10. Euler's 36 officers problem asks whether , which Tarry showed false in 1901. Bose, Shrikhande and Parker (1959) showed pairs exist at every order except 2 and 6.
Orthogonal arrays. A set of MOLS of order is the same as an orthogonal array OA: a table with rows and columns, entries from symbols, in which every two columns contain each ordered pair exactly once. Take the first two columns as the cell position ; each further column then gives the symbol placed in that cell by one square.
Difference matrices. To construct arrays by computer for large , take a group of order (for example ). A difference matrix is a matrix over in which, for any two rows, the entrywise differences hit every element of the same number of times. Adding every group element to every column gives an orthogonal array. A quasi-difference matrix allows a few special 'infinity' entries, so it can handle orders such as 22 that are not the order of a group acting in the right way: the preprint's order-22 example uses and one infinity symbol, with rows.
The record. Previously was known for all . A November 2026 preprint by Rosin (arXiv:2611.16299) reports 4 MOLS of order 22 and improved bounds at 32 other orders up to 494. Its abstract says the constructions were found by an AI model; the squares are published as text files with a checking script, and checking is cheap: the Latin property plus orthogonality checks of pairs each. DARC has not run the check. Order 10 is still open: .
Go deeper
The full technical text.
Latin squares
A Latin square of order is an grid filled with symbols so that each symbol occurs exactly once in every row and every column. Two Latin squares of the same order are orthogonal if, when one is laid over the other, every ordered pair of symbols occurs exactly once. A set of squares that are pairwise orthogonal is a set of mutually orthogonal Latin squares (MOLS). Write for the largest number of MOLS of order .
Euler's officers
Euler's 36 officers problem asks for a arrangement of officers from six regiments and six ranks in which every row and column contains each regiment and each rank once. That is a pair of orthogonal Latin squares of order 6, also called a Graeco-Latin square. Euler conjectured that none exist whenever . Tarry confirmed in 1901, by exhaustion, that order 6 has none. In 1959 Bose, Shrikhande and Parker showed that Euler's conjecture is false for every (Bose and Shrikhande built order-22 counterexamples, and Parker found one of order 10 by computer search), so a pair of orthogonal Latin squares exists for every order except 2 and 6.
Upper bounds and planes
No set of MOLS of order has more than squares, so . A set of MOLS, called a complete set, is equivalent to a finite affine plane of order , and every finite affine plane extends uniquely to a projective plane of the same order. Hence exactly when a projective plane of order exists. Finite fields give complete sets whenever is a prime or a prime power. The Bruck-Ryser theorem rules out planes of orders 6 and 14. Lam's 1991 computer search ruled out order 10, so ; combined with a theorem of Shrikhande the bound improves to .
Lower bounds, the order-10 puzzle and constructions
Lower bounds come from product constructions (MacNeish's theorem uses the prime factorization of ) and from direct constructions built from algebraic data: difference matrices and quasi-difference matrices over a group, orthogonal arrays, and projective planes with deleted points or lines. A table of the best known lower bounds for is kept in the Handbook of Combinatorial Designs and its updates; a 2024 compilation is the baseline of the preprint discussed below. Order 10 is the smallest order where the exact value is unknown: at least 2 MOLS exist, at most 6 are possible, and no set of three has ever been found despite many computer searches.
November 2026
On 12 November 2026 Christopher D. Rosin posted a preprint reporting new MOLS at 33 orders between 22 and 494, including 4 MOLS of order 22, which with earlier results gives for all (the paper states that order 22 was the last open case). The abstract says the constructions were found by an AI model, GPT-6 Astra. The sets are published as text files with a checking script. The preprint is unrefereed.
Words on this page (8)
- Latin square
- An n by n grid of n symbols in which every symbol appears exactly once in each row and each column.
- orthogonal Latin squares
- Two Latin squares of the same size such that, laid over each other, every ordered pair of symbols occurs exactly once.
- mutually orthogonal Latin squares (MOLS)
- A set of Latin squares of one size in which every two squares are orthogonal.
- orthogonal array
- A table whose columns, taken two at a time, contain every ordered pair of symbols equally often; an array with n^2 rows and k columns encodes k-2 MOLS.
- projective plane
- A geometry of points and lines in which any two points lie on one line and any two lines meet in one point; a plane of order n exists exactly when n-1 MOLS of order n exist.
- finite field
- A finite set with addition, subtraction, multiplication and division, which exists exactly for prime-power sizes.
- strongly regular graph
- A graph in which every vertex has the same degree and the number of common neighbours of two vertices depends only on whether they are joined.
- Euler's 36 officers problem
- The puzzle of arranging 36 officers of six ranks and six regiments in a six by six square so each row and column has all ranks and all regiments; it has no solution.
New to this? Read first (4)
- Wikipedia: Mutually orthogonal Latin squaresDefinitions, the link to projective planes and what is known about order 10.
- Wikipedia: Graeco-Latin squareEuler's 36 officers and the 1959 disproof of his conjecture.
- Wikipedia: Orthogonal arrayThe array viewpoint used by the new constructions.
- Rosin: Improved Lower Bounds for MOLS at 33 Orders (arXiv abstract)The unrefereed November 2026 preprint.
Understanding map
map of the whole wiki →What to read before Mutually orthogonal Latin squares and the function N(n) (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.
- Start with
- Step 2
- Step 3
- Then
Open problems & questions
Progress timeline
- Nov 12, 2026Preprint reports 4 MOLS of order 22 and 32 other improved ordersRelated to: Improving the table of lower bounds on the number N(n) of mutually orthogonal Latin squares, starting with three MOLS of order 10source
Rosin's preprint reports improved lower bounds at 33 orders between 22 and 494, with N(n) >= 4 for all n > 10 and N(n) >= 6 for all n > 68; its abstract says the constructions were found by GPT-6 Astra. The sets are in a public repository with a checking script. Unrefereed.
- Nov 12, 2026Preprint: improved lower bounds at 33 orders, AI-foundsource
Rosin's preprint reports 4 MOLS of order 22 (so N(n) >= 4 for all n > 10) and better lower bounds at 32 other orders up to 494, with constructions found by GPT-6 Astra and data and checking code in a public repository. Unrefereed; DARC has not run the check.
- Jan 1, 1991No projective plane of order 10source
Lam's computer search showed there is no projective plane of order 10, so N(10) < 9. Date is the first of January of the year.
- Jan 1, 1991No projective plane of order 10Related to: Improving the table of lower bounds on the number N(n) of mutually orthogonal Latin squares, starting with three MOLS of order 10source
Lam's computer search showed no projective plane of order 10 exists, so N(10) < 9. Date is the first of January of the year.
- Apr 1, 1959Euler's conjecture disprovedsource
Bose, Shrikhande and Parker showed the conjecture is false for every n >= 7, so orthogonal pairs exist for every order except 2 and 6; Parker's order-10 pair came from a computer search. Date is the month, as given by the source.
- Apr 1, 1959Pairs of orthogonal Latin squares exist for all n except 2 and 6Related to: Improving the table of lower bounds on the number N(n) of mutually orthogonal Latin squares, starting with three MOLS of order 10source
Bose, Shrikhande and Parker disproved Euler's conjecture for all n >= 7; Parker's order-10 pair came from a computer search. Date is the month, as given by the source.
- Jan 1, 1901Tarry: order 6 has no pairsource
Tarry confirmed by exhaustion that no pair of orthogonal Latin squares of order 6 exists. Date is the first of January of the year.
- Jan 1, 1782Euler's 36 officers problemsource
Euler posed the problem of a pair of orthogonal Latin squares of order 6 (written 1779, published 1782) and conjectured that none exist for orders congruent to 2 mod 4. Date is the first of January of the year.