TOPICS
Search

Barker Code


A Barker code is a string of digits a_i=+/-1 of length l>=2 such that

 |sum_(i=1)^(l-k)a_ia_(i+k)|<=1

for all 1<=k<l. Barker codes are used for pulse compression of radar signals. There are Barker codes of lengths 2, 3, 4, 5, 7, 11, and 13, and it is conjectured that no longer Barker codes exist. A list of known Barker codes up to reversal of digits and negation is given below.

lengthcode
2+-, ++
3++-
4+-++, +---
5+++-+
7+++--+-
11+++---+--+-
13+++++--++-+-+

The number of candidate codes of length n is therefore equal to the number of n-bead black-white reversible strings 1, 2, 3, 6, 10, 20, 36, 72, ... (OEIS A005418), while the numbers of Barker codes of order l=2, 3, ... are 2, 1, 2, 1, 0, 1, 0, 0, 0, 1, 0, 1, and no further known codes at higher lengths (OEIS A091704).

OpenAI (2026) announced that a real circulant matrix that is a Hadamard matrix has order 1 or 4. The manuscript claims as a consequence that Barker codes of length greater than 1 exist exactly at lengths 2, 3, 4, 5, 7, 11, and 13. This is an announced resolution of the longer-length conjecture.


See also

Circulant Matrix, Hadamard Matrix

Portions of this entry contributed by David Terr

Explore with Wolfram|Alpha

References

Barker, R. H. "Group Synchronizing of Binary Digital Sequences." In Communication Theory. London, England: Butterworth, pp. 273-287, 1953.Lüke, H. D. Korrelationssignale. Berlin, Germany: Springer-Verlag, 1992.OpenAI. "The Circulant Hadamard Conjecture." Sep. 23, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/The-circulant-Hadamard-conjecture-September-23-2026/paper.pdf.Sloane, N. J. A. Sequences A005418/M0771 and A091704 in "The On-Line Encyclopedia of Integer Sequences."Stimson, G. W. Introduction to Airborne Radar, 2nd ed. Raleigh, NC: SciTech, p. 172, 1998.Zwillinger, D. (Ed.). CRC Standard Mathematical Tables and Formulae. Boca Raton, FL: CRC Press, p. 223, 1995.

Referenced on Wolfram|Alpha

Barker Code

Cite this as:

Weisstein, Eric W., with contributions by David Terr. "Barker Code." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/BarkerCode.html

Subject classifications