Binary codes $A(21,4)$

The largest number of binary words of length $21$ with pairwise Hamming distance at least $4$.

Lower bound: $40960$ (40,960) Checked construction
Upper bound: $43688$ (43,688) Literature

History

Each bound that improved on the earlier ones, with the record of its discovery and its best evidence. A bound is discovered in the literature, or by a certificate submitted here, and may appear in later sources too. Its best evidence is a certificate checked here, if there is one at least as strong: a formal proof in Lean (Lean proof) or an explicit construction checked by a program (Checked construction). Otherwise it's an Attested certificate, which someone else checked with a published checker, or the Literature. Submit a certificate.

Date Bound Discovery Best evidence
1976 $\ge 36864$ (36,864) M.R. Best, A.E. Brouwer, F.J. MacWilliams, A.M. Odlyzko and N.J.A. Sloane, Bounds for binary codes of length less than 25, Mathematisch Centrum report ZN 66/76 (1976); published in IEEE Transactions on Information Theory 24 (1978) 81-93. Checked construction
via $\ge 40960$, binary-code-21-4-lower-40960
1976 $\le 43690$ (43,690) M.R. Best, A.E. Brouwer, F.J. MacWilliams, A.M. Odlyzko and N.J.A. Sloane, Bounds for binary codes of length less than 25, Mathematisch Centrum report ZN 66/76 (1976); published in IEEE Transactions on Information Theory 24 (1978) 81-93. Literature
2001-03-02 $\le 43689$ (43,689) E. Agrell, A. Vardy and K. Zeger, A table of upper bounds for binary codes, IEEE Transactions on Information Theory 47 (2001) 3004-3006. Literature
2002-04 $\le 43688$ (43,688) B. Mounits, T. Etzion and S. Litsyn, Improved upper bounds on sizes of codes, IEEE Transactions on Information Theory 48 (2002) 880-886.
[via A.E. Brouwer, Small binary codes: Table of general binary codes, https://aeb.win.tue.nl/codes/binary-1.html (formerly www.win.tue.nl/~aeb/codes/binary-1.html), version of 2026-11-22, read through the Internet Archive, with earlier versions from 2001-04-10 on.]
Literature
2016-04-20 $\ge 40960$ (40,960) A. Laaksonen and P.R.J. Östergård, Constructing error-correcting binary codes using transitive permutation groups, Discrete Applied Mathematics 233 (2017) 65-70, arXiv:1604.06022.
[via A.E. Brouwer, Small binary codes: Table of general binary codes, https://aeb.win.tue.nl/codes/binary-1.html (formerly www.win.tue.nl/~aeb/codes/binary-1.html), version of 2026-11-22, read through the Internet Archive, with earlier versions from 2001-04-10 on.]
Checked construction
Certificate binary-code-21-4-lower-40960, submitted by daniel-munro, 2026-12-04
[construction from A. Laaksonen and P.R.J. Östergård, Constructing error-correcting binary codes using transitive permutation groups, Discrete Applied Mathematics 233 (2017) 65-70, arXiv:1604.06022.]