Constant weight codes
A(49,4,5) ≥ 40740
A binary code of length 49 with 40,740 words, each with exactly 5 ones, any two of which differ in at least 4 positions: 180 more words than the 40,560 in Andries Brouwer's table. Quantavane found it on 3 November 2026.
Listed in Andries Brouwer's table of constant weight codes since 3 November 2026.
The record
| Ours | 40,740 words |
|---|---|
| Previous best | 40,560 words |
| Previous source | the lower bound in Andries Brouwer's table of constant weight codes (read 3 November 2026) |
| Found | 3 November 2026 |
| Status | Listed in Andries Brouwer's table of constant weight codes since 3 November 2026. |
| Check | A separate program compared every pair of words: each has exactly 5 ones and any two differ in at least 4 positions. |
So A(49,4,5), the largest size of such a code, is at least 40,740. Equivalently, any 4 of the 49 positions hold ones together in at most one word.
How it was found and checked
A union of 21 orbits of a group of 2,352 affine maps of the field GF(49), which permutes the 49 positions, plus 168 further words that still fit. A separate program compared every pair of words: each has exactly 5 ones and any two differ in at least 4 positions.
A constant weight code is a set of binary words of length n, each with exactly w ones, any two of which differ in at least d positions. A(n,d,w) is the largest number of words such a code can have, and for most n, d and w it is unknown. Andries Brouwer's tables keep the best known lower and upper bounds; a record is a code with more words than the listed lower bound.
Questions
What is the best known lower bound for A(49,4,5)?
40,740, from our code; Brouwer's table listed 40,560 (read 3 November 2026).
How was it found?
A union of 21 orbits of a group of 2,352 affine maps of the field GF(49), which permutes the 49 positions, plus 168 further words that still fit.
Is it in Brouwer's table yet?
Listed in Andries Brouwer's table of constant weight codes since 3 November 2026.