The circulant Hadamard and Barker-sequence conjectures

Circulant Hadamard matrices exist only in sizes 1 and 4.

1 paper September 23, 2026 Explained by AI

A Hadamard matrix is a square table of plus and minus ones whose rows all cancel against each other. A circulant one is built by shifting a single row. Ryser is credited with the conjecture that only sizes 1 and 4 are possible. This paper proves it, which also completes the list of Barker sequence lengths.

First step
1965
Richard J. Turyn, first size restrictions
Significance
Solid
It closes a long-studied conjecture on sign matrices and completes a classic list of sequence lengths.
Trust
Formal proof listed
Field
Combinatorics
1 paper

The explanation

Write down four signs: −, +, +, +. Make a square table from them. The first row is the four signs. Each next row is the row above, shifted one place right. The last sign wraps round to the front. Now compare any two different rows, position by position. They agree twice and disagree twice. So multiply matching entries and add, and you always get 0. A square table of plus and minus ones whose rows all cancel like this is called a Hadamard matrix. One built by shifting a single row is called circulant.

How big can a circulant Hadamard matrix be? A single + is a trivial example of size 1. The table above has size 4. Try size 16. There are 65,536 choices of first row, and a computer check shows none of them works. Herbert Ryser is traditionally credited with the conjecture that 1 and 4 are the only sizes.

The question is old and was cut down a lot. In 1965, Richard J. Turyn showed that any larger size must be 4 times the square of an odd number. That odd number cannot be a power of a single prime. Bernhard Schmidt, Ka Hin Leung and others later ruled out more sizes, using the arithmetic of roots of unity. In 2017, Brooke Logan and Michael Mossinghoff ran a computer search up to 4 followed by 30 zeros. They excluded all but 4,489 sizes in that range. Those 4,489 stayed open, and nothing covered the sizes beyond.

This paper proves that 1 and 4 are the only sizes. The difficulty was that each known test removed some sizes, but none removed all of them. The paper finds one quantity that ties all the odd prime factors of the size together. It evaluates the first row in several ways, using roots of unity. Then it multiplies those values with alternating powers +1 and −1. That product turns out to be a root of unity, a number some power of which equals 1. Looking at the same numbers modulo 2 then shows it must equal 1 exactly. Expanding it one step further gives a sum where all terms but one vanish. One nonzero term cannot add up to zero, and that is the contradiction.

There is a well-known consequence. A Barker sequence is a list of signs that barely matches shifted copies of itself. Slide the list along itself by any amount, multiply the overlapping signs and add. The total must be −1, 0 or 1. The list + + + + + − − + + − + − + of length 13 is one. Barker sequences exist at lengths 2, 3, 4, 5, 7, 11 and 13. Turyn and Storer had ruled out odd lengths above 13 in 1961. For even lengths above 2, a Barker sequence would give a circulant Hadamard matrix of the same size. So the new theorem leaves only 2 and 4 among even lengths, and the list of seven lengths is complete.

The theorem is exact, not a statement about large sizes only. It also says nothing about approximate versions. In 2024, Stefan Steinerberger showed that every size has a circulant sign table within fixed factors of the exact case. Exact cancellation is what fails.

How sure is this? A computer proof checker called Lean has checked a formal version of the main theorem. It includes explicit examples of sizes 1 and 4. It has also checked the even-length Barker statement. The odd-length list, which relies on earlier work, is outside that check. Several earlier claimed proofs exist, and no specialist review of this one has been published.

What it doesn't show. This does not rule out circulant sign tables that only approximately cancel.

Where it came from

This result comes from an unreleased OpenAI model, published in the openai/math release on 6 October 2026.

Hype check

Lean checks formal versions of the main theorem and the even Barker lengths. The odd lengths rest on earlier work, other proofs have been claimed before, and no review is published.

Words used

Hadamard matrix
A square table of plus and minus ones in which every two different rows cancel when multiplied entry by entry and added.
Circulant
A table where each row is the row above shifted one place, wrapping around.
Barker sequence
A list of signs whose overlap with any shifted copy of itself adds to −1, 0 or 1.
Root of unity
A number some whole power of which equals 1.

The original paper

All quoted lines (6)

  1. For a positive integer nn, a real circulant Hadamard matrix of order nn exists if and only if n∈{1,4}n\in\{1,4\}.
    The circulant Hadamard conjecture Back to text
  2. Kronecker's criterion makes it a root of unity, and the local residues restrict its order to a power of every p∈Ip\in I.
    The circulant Hadamard conjecture Back to text
  3. Hence the two alternating ratio products have residue one; their odd order makes them exactly one.
    The circulant Hadamard conjecture Back to text
  4. The resulting alternating sum therefore has one nonzero term, which is the contradiction.
    The circulant Hadamard conjecture Back to text
  5. For even length greater than two, the Barker inequalities imply that all nontrivial periodic autocorrelations vanish.
    The circulant Hadamard conjecture Back to text
  6. For an integer n>1n>1, a Barker sequence of length nn exists if and only if n∈{2,3,4,5,7,11,13}.n\in\{2,3,4,5,7,11,13\}.
    The circulant Hadamard conjecture Back to text

Other sources

  1. H. J. Ryser, Combinatorial Mathematics, Carus Mathematical Monographs 14, Mathematical Association of America (1963)
  2. R. Turyn and J. Storer, “On binary sequences”, Proceedings of the American Mathematical Society 12(3) (1961), 394–399
  3. R. J. Turyn, “Character sums and difference sets”, Pacific Journal of Mathematics 15(1) (1965), 319–346
  4. B. Schmidt, “Cyclotomic integers and finite geometry”, Journal of the American Mathematical Society 12(4) (1999), 929–952
  5. K. H. Leung and B. Schmidt, “The field descent method”, Designs, Codes and Cryptography 36(2) (2005), 171–188
  6. B. Logan and M. J. Mossinghoff, “Double Wieferich pairs and circulant Hadamard matrices”, Journal of Combinatorial Mathematics and Combinatorial Computing 101 (2017), 145–156
  7. S. Steinerberger, “A note on approximate Hadamard matrices”, Designs, Codes and Cryptography 92 (2024), 3125–3131
  8. K.-U. Schmidt and J. Willms, “Barker sequences of odd length”, Designs, Codes and Cryptography 80(2) (2016), 409–414
  9. openai/math release notes (2026): model provenance and review status manuscripts and supporting proof artifacts produced by an internal OpenAI model