Manuscript Offprint
arXiv:2610.11609Three Improved Lower Bounds for Binary Error-Correcting Codes
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Error-correcting codes are a foundational technology for representing information robustly against noise in communication and data storage. The binary code packing problem, which seeks to maximize the number of codewords at a fixed code length and minimum distance, is a fundamental problem in coding theory that remains open for many parameter choices. We give explicit binary codes with parameters , , and , where , , and denote the code length, number of codewords, and minimum distance, respectively. These establish the lower bounds , , and , where denotes the maximum possible number of codewords, improving the respective lower bounds 80, 192, and 64 in the public table of general binary codes. Most notably, the third result improves the lower bound supplied by a lexicographic construction for the first time in 66 years, while the first two improve bounds that have stood for 21 years. The new codes represent more messages without changing the code length or error-correction guarantees, with gains compounding multiplicatively across blocks. We release all codewords and an exhaustive verifier to enable independent verification.
1 Introduction
Error-correcting codes are a foundational technology for recovering original data from communication noise, media damage, and recognition errors. They are widely used in applications such as digital communication, QR-code and barcode recognition, and information storage. Since error-correcting codes directly affect the reliability and efficiency of communication and storage systems, even small improvements in code construction can have practical implications at scale.
The task of representing as much information as possible with short bit strings while preserving error-correction capability can be formulated mathematically as the code packing problem, which seeks a maximum-cardinality set of length-n binary words with pairwise Hamming distances of at least d. Decades of coding-theory research have produced strong constructions and theoretical upper bounds for many parameters (Best et al., 1978; Agrell et al., 2001; Gijswijt et al., 2012). Nevertheless, for many parameters, a gap remains between the best-known constructions and the theoretical upper bounds.
In this work, we improve three lower bounds on the maximum size of binary codes. Specifically, we give explicit codes containing 84, 196, and 65 codewords for , , and , respectively, surpassing the previous lower bounds of 80 (Östergård, 2005), 192 (Elssel and Zimmermann, 2005), and 64 (Levenshtein, 1960). These results improve two lower bounds that have stood for 21 years and surpass the 64-codeword bound supplied by a lexicographic construction dating to 1960, 66 years after its introduction. With block length and minimum distance unchanged, the ratio of message-sequence counts between the new and previous constructions grows exponentially with the number of blocks. We provide all codewords and a short exhaustive verifier, presenting these bounds in a form that permits independent verification.
For fixed code length n and minimum distance d, increasing the number of codewords allows more distinct messages to be represented without weakening the error-correction guarantee. The binary code packing problem, formalized in Definition 2.1, seeks the largest possible set of codewords satisfying these constraints.
Corresponding author: Kazuki Ota (ota@mi.t.u-tokyo.ac.jp).
Pairwise Distances
Error Correction under Noise


Figure 1: Error correction as separation. Nearest-neighbor decoding corrects any pattern of up to bit errors for a code with minimum Hamming distance . The code has parameters . Left: Pairwise distances are at least three. Right: Any single-bit error is corrected, whereas the illustrated two-bit error causes incorrect decoding.
Definition 2.1 (Binary Code Packing Problem). Let be integers with . The binary code packing problem, whose optimal value is denoted by , is
3 Our Results
We provide three improved lower bounds on in Proposition 3.1.
Proposition 3.1. The following lower bounds hold:
Proof. The complete sets in Section 4 contain, respectively, 84, 196, and 65 distinct words of the indicated lengths. Exhaustive comparison of all unordered pairs gives minimum distances 9, 9, and 11, respectively. Each set is therefore a witness for the corresponding bound.
Table 1: Comparison of lower bounds for binary codes.
| n | d | Previous lower bound | Our results | Improvement |
|---|---|---|---|---|
| 22 bits | 9 bits | 80 words (Östergård, 2005) | 84 words | +4 words |
| 24 bits | 9 bits | 192 words (Elssel and Zimmermann, 2005) | 196 words | +4 words |
| 25 bits | 11 bits | 64 words (Levenshtein, 1960) | 65 words | +1 word |
The previous bounds in Table 1 are listed in Brouwer's online table of general binary codes (accessed October 1, 2026). The bound for (24, 9) is obtained by shortening the construction of Elssel and Zimmermann (2005). For odd , parity extension and puncturing give . Thus the same constructions give lower bounds 84, 196, and 65 for , (25, 10), (26, 12).
At unchanged block length and minimum distance, the new codes support more messages. For the 22-bit code, blocks support times as many message sequences as the previous construction. For example, 100 blocks totaling 2,200 bits support approximately 131 times as many message sequences, while guaranteeing correction of any four bit errors per block.
4 Verification and Explicit Codes
Each code below is listed as whitespace-separated decimal integers. Each integer represents an -bit word, padded with leading zeros and written with the most significant bit first. All three codes pass the following checks, implemented using exact integer arithmetic in Python 3.10 or later:
from itertools import combinations
def check(words, n, M, d): assert len(words) == len(set(words)) == M assert all(0 <= w < 2**n for w in words) distances = [(x ^ y).bit_count() for x, y in combinations(words, 2)] return min(distances) >= d
(22, 84, 9) code
| 0 | 178141 | 190058 | 204400 | 221583 | 297724 | 324867 | 408135 | 411064 | 497962 |
|---|---|---|---|---|---|---|---|---|---|
| 601801 | 610614 | 665964 | 677523 | 755620 | 784475 | 814110 | 953681 | 974054 | 988173 |
| 1010674 | 1086962 | 1108493 | 1117358 | 1137945 | 1306081 | 1312347 | 1341860 | 1419411 | 1431404 |
| 1486646 | 1495241 | 1579221 | 1686456 | 1688647 | 1772291 | 1799420 | 1875855 | 1892464 | 1914402 |
| 1927061 | 2064895 | 2134127 | 2158480 | 2177474 | 2189429 | 2330143 | 2365237 | 2471000 | 2476967 |
| 2557155 | 2587420 | 2623931 | 2651716 | 2729843 | 2742412 | 2793686 | 2809641 | 2923026 | 2942445 |
| 2949966 | 2970361 | 3138049 | 3171326 | 3310257 | 3330822 | 3349485 | 3367954 | 3481897 | 3497686 |
| 3548812 | 3561843 | 3639364 | 3667899 | 3704092 | 3734243 | 3814823 | 3820120 | 3905226 | 3936224 |
| 4110397 | 4123018 | 4133264 | 4157039 |
(24, 196, 9) code
| 0 | 19421 | 118546 | 355397 | 363118 | 444713 | 570249 | 603974 | 621723 | 782447 |
|---|---|---|---|---|---|---|---|---|---|
| 790750 | 849653 | 1029554 | 1160280 | 1242911 | 1326646 | 1340907 | 1437988 | 1458295 | 1584872 |
| 1624259 | 1805188 | 1871295 | 1902960 | 1917613 | 2210677 | 2235929 | 2291762 | 2538830 | 2570625 |
| 2585180 | 2672622 | 2843266 | 2852009 | 2916915 | 3018439 | 3032346 | 3129813 | 3224107 | 3310456 |
| 3344311 | 3361898 | 3507523 | 3589636 | 3813617 | 3832620 | 3932131 | 3996120 | 4152500 | 4176543 |
| 4303288 | 4331755 | 4430884 | 4446201 | 4529872 | 4597758 | 4611479 | 4893538 | 4940912 | 5005899 |
| 5185804 | 5228327 | 5316838 | 5399457 | 5408138 | 5743122 | 5761487 | 5790845 | 5956316 | 5971770 |
| 6027537 | 6198612 | 6217353 | 6249030 | 6369227 | 6378914 | 6450316 | 6596005 | 6614648 | 6646455 |
| 6740964 | 6837072 | 6862203 | 7016471 | 7083564 | 7199038 | 7379859 | 7393358 | 7672317 | 7731158 |
| 7754426 | 7874586 | 7974101 | 7989000 | 8154470 | 8162125 | 8228992 | 8334881 | 8410746 | 8556883 |
| 8575630 | 8590748 | 8655783 | 8868064 | 8894155 | 9070855 | 9152021 | 9170376 | 9269052 | 9317499 |
| 9357904 | 9448849 | 9662166 | 9668861 | 9875301 | 9888952 | 9907114 | 10047754 | 10097229 | 10348130 |
| 10377009 | 10459171 | 10474494 | 10494652 | 10536087 | 10707451 | 10774464 | 10856658 | 10871567 | 10953766 |
| 11099687 | 11122700 | 11148640 | 11313044 | 11326537 | 11344731 | 11557366 | 11638500 | 11656505 | 11803786 |
| 11860641 | 12017613 | 12100002 | 12118655 | 12133741 | 12227646 | 12410897 | 12460886 | 12632677 | 12651895 |
| 12869938 | 12879641 | 13091934 | 13122097 | 13136364 | 13221630 | 13242285 | 13468139 | 13499266 | 13547717 |
| 13655812 | 13678895 | 13714633 | 13892200 | 13958227 | 13972289 | 13990044 | 14230431 | 14271924 | 14321395 |
| 14418951 | 14438362 | 14726658 | 14881646 | 14939461 | 15105835 | 15183929 | 15321753 | 15370718 | 15397815 |
| 15564273 | 15649954 | 15664048 | 15681645 | 15862464 | 15876381 | 15961615 | 16025652 | 16135829 | 16199000 |
| 16239475 | 16465286 | 16479835 | 16643247 | 16667075 | 16693224 |
(25, 65, 11) code
| 0 | 129055 | 131040 | 932067 | 1592955 | 2867445 | 3299692 | 3475174 | 3957135 | 4037008 |
|---|---|---|---|---|---|---|---|---|---|
| 4326367 | 5549386 | 5592405 | 5936553 | 5991862 | 6017602 | 6747174 | 6753337 | 6894810 | 7797465 |
| 7944741 | 9872229 | 10788351 | 11154709 | 11250554 | 12448873 | 13390138 | 13479637 | 15163840 | 15255372 |
| 15845546 | 16648278 | 17671475 | 17996470 | 19387307 | 19442860 | 20865584 | 21905276 | 21940485 | 22111881 |
| 23351186 | 24355100 | 24942111 | 25323961 | 25325126 | 25400921 | 25974437 | 26556620 | 26935343 | 28325674 |
| 28332243 | 28430133 | 29233097 | 29358038 | 29463942 | 30319242 | 30852348 | 30882579 | 30997487 | 30997520 |
| 30999536 | 31758944 | 31810175 | 32201372 | 32202083 |
Acknowledgements
This work was partially supported by JST Moonshot R&D Grant Number JPMJPS2011 and by the New Energy and Industrial Technology Development Organization (NEDO) under project JPNP26007. Kazuki Ota was supported by JST SPRING, Grant Number JPMJSP2108. Takayuki Osa was supported by JSPS KAKENHI Grant Number JP25K03176.
References
E. Agrell, A. Vardy, and K. Zeger, A table of upper bounds for binary codes, IEEE Transactions on Information Theory 47(7) (2001), 3004–3006.
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, IEEE Transactions on Information Theory 24(1) (1978), 81–93.
A. E. Brouwer, Small binary codes: Table of general binary codes. https://aeb.win.tue.nl/codes/binary-1.html. Accessed October 1, 2026.
K. Elssel and K.-H. Zimmermann, Two new nonlinear binary codes, IEEE Transactions on Information Theory 51(3) (2005), 1189–1190.
D. C. Gijswijt, H. D. Mittelmann, and A. Schrijver, Semidefinite code bounds based on quadruple distances, IEEE Transactions on Information Theory 58(5) (2012), 2697–2705.
V. I. Levenshtein, A class of systematic codes, Doklady Akademii Nauk SSSR 131(5) (1960), 1011–1014.
P. R. J. Östergård, Two new four-error-correcting binary codes, Designs, Codes and Cryptography 36 (2005), 327–329.