Bounds for constant-weight codes
These tables give, for all parameters n, d, and w,
an interval for the maximum size A(n,d,w)
of a constant-weight binary code.
A single value indicates that the lower and upper bounds
coincide: A(n,d,w)
is known exactly in such cases.
Superscripts denote the methods
by which the upper bounds were obtained, as detailed in the legend below.
The tables give the best known bounds on
A(n,d,w) for all n up to 28 and
all even d up to 14. For each n and d,
w ranges from d/2+1 to the integer part of n/2.
The values of
A(n,d,w) for w outside this
interval or for odd d are given in [1, Theorem 8].
In particular, bounds for w > n/2 follow from
A(n,d,w) =
A(n,d,n-w).
For d = 16 or 18, exact values of A(n,d,w)
are given in [5].
A corresponding resource for lower bounds of constant-weight codes
is maintained by E. M. Rains and N. J. A. Sloane at [RS],
an online version of [5].
The lower bounds in the tables below were copied from [RS]
in December 1999 and are not regularly
updated. See [RS] for updated lower bounds
and details on how they were obtained. Some improved lower bounds, and extensions to larger values of n, were given in [9] in February 2002.
Table history
- Aug. 10, 2000: The web version of the tables in [1] was published.
- July 8, 2004: “T” bounds included (33 updates).
- May 9, 2005: “B” bounds included (3 updates).
Please report further updates or corrections.
Legend of superscripts
- 5-21: Theorem numbers in [1].
- T: Updates based on the Terwilliger algebra, from [8] by Schrijver.
- B: Updates by applying [1, Th. 9] to Schrijver's updates (superscript T), which were discovered by Neelima Bojja and Syed Mustafizur Rahman.
Bounds on A(n,4,w)
| w=3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13
| 14 |
---|
n=6 | 45 | | n=6 |
---|
7
| 75 | | 7 |
---|
8 | 85
| 145 | | 8 |
---|
9 | 129
| 189 | | 9 |
---|
10 | 139
| 309 | 369 | | 10 |
---|
11
| 179 | 359 | 669 | | 11 |
---|
12 | 209 | 519 | 80- 849
| 1329 | | 12 |
13 | 269
| 659 | 123- 1329 | 166- 1829 |
| 13 |
---|
14 | 289 | 919 | 169- 1829
| 278- 3089 | 325- 3649 | | 14 |
---|
15
| 359 | 1059 | 237- 27113 | 389-
4559 | 585- 6609 | | 15 |
---|
16
| 379 | 1409 | 315- 3369 | 615-
7229 | 836- 10409 | 1170- 13209 | | 16 |
---|
17 | 449 | 156- 1579 | 441-
4769 | 854- 9529 | 1416- 17539 | 1770-
22109 | | 17 |
---|
18 | 489
| 1989 | 518- 5659 | 1260- 14289 | 2041-
24489 | 3186- 39449 | 3540- 44209 | | 18 |
---|
19 | 579 | 2289 | 692-
7529 | 1620- 17899 | 3172- 38769 | 4667-
58149 | 6726- 83269 | | 19 |
---|
20
| 609 | 2859 | 874- 9129 | 2304-
25069 | 4213- 51119 | 7730- 96909 | 10039-
129209 | 13452- 166529 | | 20 |
---|
21
| 709 | 3159 | 1071- 11979 | 2856-
31929 | 6156- 75189 | 10753- 134169
| 16897- 226109 | 20188- 271329 | | 21 |
---|
22 | 739 | 3859 | 13869 | 3927-
43899 | 8252- 100329 | 16430- 206749
| 25570- 327949 | 36381- 497429 | 39688-
542649 | | 22 |
23 | 839 | 418-
4199 | 17719 | 53139 | 11638-
144219 | 23276- 288429 | 40786- 528339
| 57436- 754269 | 73794- 1040069 | | 23
|
---|
24 | 889 | 4989 | 1895- 20119
| 70849 | 15656- 182169 | 34914- 432639
| 59387- 769129 | 96496- 1267999 | 116937-
1645659 | 146552- 2080129 | | 24 |
---|
25
| 1009 | 5509 | 2334- 24909 | 7772-
83799 | 21106- 253009 | 46872- 569259
| 88748- 1201759 | 140605- 1922809 | 196449-
2881799 | 228901- 3428439 | | 25 |
---|
26
| 1049 | 6509 | 2670- 28609 | 10010-
107909 | 26920- 311229 | 65364- 822259
| 128050- 1644509 | 218905- 3124559 | 315700-
4544809 | 398381- 6243879 | 425950- 6856869
| | 26 |
---|
27 | 1179 | 7029 | 3276-
35109 | 12012- 128709 | 35510- 416189
| 87709- 1050369 | 186058- 2466759 | 330347-
4440159 | 510571- 7669359 | 675262- 10225809
| 778872- 12968039 | | 27 |
---|
28 | 1219
| 8199 | 3718- 39319 | 15288- 163809
| 44747- 514809 | 121403- 1456639 | 260224-
3267789 | 502068- 6906909 | 806303- 11302209
| 1154541- 17895159 | 1400118- 22024809 | 1520224-
25936069 | 28 |
---|
| w=3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
| 11 | 12 | 13 | 14 |
---|
Bounds on A(n,6,w)
| w=4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
|
---|
n=8 | 210 | | n=8 |
---|
9 | 35 | | 9 |
---|
10 | 55 | 65 |
| 10 |
---|
11 | 65 | 115 | | 11 |
---|
12 | 95 | 125 | 225 | | 12
|
13 | 135 | 1821 | 269 |
| 13 |
---|
14 | 145 | 2820 | 4220
| 4221 | | 14 |
---|
15 | 155
| 429 | 7020 | 69- 789 | | 15
|
---|
16 | 209 | 489 | 1129 | 109-
1389 | 120- 15020 | | 16 |
---|
17
| 2021 | 689 | 112- 1369 | 166-
228T | 184- 280T | | 17 |
---|
18
| 229 | 69- 729 | 132- 199T | 243-
3499 | 260- 42820 | 304- 42520 |
| 18 |
---|
19 | 2521 | 76- 839 | 172-
2289 | 338- 52020 | 408- 718T | 504-
78920 | | 19 |
---|
20 | 309 | 84-
1009 | 232- 2769 | 462- 6519 | 588-
110714 | 832- 136320 | 944- 1403T | | 20 |
---|
21 | 319 | 108- 1269 | 269-
3509 | 570- 8289 | 774- 169514 | 1184-
2359T | 1454- 2685T | | 21 |
---|
22
| 379 | 132- 1369 | 319- 4629 | 759-
11009 | 1139- 22779 | 1792- 3766T | 2182-
4415T | 2636- 506420 | | 22 |
---|
23
| 409 | 147- 1709 | 399- 5219 | 969-
15189 | 1436- 31629 | 2271- 58199 | 2970-
752120 | 3585- 795320 | | 23 |
---|
24
| 429 | 168- 1929 | 532- 6809 | 1368-
17869 | 1882- 45549 | 3041- 84329 | 4200-
1218614 | 5267- 146829 | 5616- 1590620 | | 24 |
---|
25 | 509 | 2109 | 700-
8009 | 1900- 24289 | 2590- 55819 | 4127-
1262014 | 6036- 1903714 | 7960- 2463020
| 9031- 305879 | | 25 |
---|
26 | 529
| 2609 | 9109 | 2600- 29719 | 3532-
78919 | 5703- 161229 | 8695- 2889314
| 12037- 42080T | 14836- 50169T | 15977-
611749 | | 26 |
---|
27 | 549 | 260-
2809 | 11709 | 35109 | 4786-
100279 | 7727- 236739 | 12368- 435299
| 18096- 6607920 | 23879- 8457420 | 27553-
9108020 | | 27 |
---|
28 | 639 | 280-
3029 | 1170- 13069 | 46809 | 6315-
122859 | 10313- 311959 | 17447- 6375614
| 29484- 10423120 | 40188- 14211714 | 49462-
16422020 | 52995- 16974020 | 28 |
---|
| w=4 | 5
| 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
---|
Bounds on A(n,8,w)
| w=5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
---|
n=10 | 25 | | n=10 |
11 | 210 | | 11 |
---|
12 | 35 | 45 |
| 12 |
---|
13 | 310 | 410 | | 13 |
---|
14 | 410 | 75 | 85 | | 14
|
15 | 65 | 105 | 155 |
| 15 |
---|
16 | 610 | 165 | 165
| 305 | | 16 |
---|
17 | 710
| 175 | 2421 | 349 | | 17 |
---|
18 | 910 | 219 | 33- 399 | 46-
549 | 48- 689 | | 18 |
19
| 125 | 289 | 52- 579 | 78- 929
| 88- 1149 | | 19 |
---|
20 | 165
| 409 | 809 | 130- 1429 | 160-
19520 | 176- 2289 | | 20 |
---|
21
| 215 | 569 | 1209 | 2109
| 280- 32020 | 336- 389T | | 21 |
---|
22
| 2121 | 779 | 1769 | 3309
| 280- 49314 | 616- 64120 | 672- 724T | | 22 |
---|
23 | 235 | 77- 809
| 2539 | 5069 | 400- 742T | 616-
1078T | 1288- 1309T | | 23 |
---|
24
| 245 | 78- 929 | 253- 2749
| 7599 | 640- 1078T | 960- 1624T | 1288-
218820 | 257620 | | 24 |
---|
25
| 309 | 1009 | 254- 3289 | 759-
8569 | 829- 1539T | 1248- 2446T | 1662-
3554T | 2576- 416920 | | 25 |
---|
26
| 3021 | 1309 | 257- 3719 | 760-
10669 | 883- 216014 | 1519- 3691T | 1988-
531520 | 3070- 683420 | 3588- 7083T | | 26 |
---|
27 | 31- 329 | 130- 1359
| 278- 5009 | 766- 12529 | 970- 291414
| 1597- 526020 | 2295- 783720 | 3335-
1054720 | 4094- 11981T | | 27 |
---|
28
| 339 | 130- 1499 | 296- 5409 | 833-
17509 | 1107- 38959 | 1820- 7367T | 2756-
1193914 | 4916- 1729920 | 4805- 21736T
| 6090- 23265T | 28 |
---|
| w=5 | 6 | 7 | 8 | 9 | 10
| 11 | 12 | 13 | 14 |
---|
Bounds on A(n,10,w)
| w=6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
---|
n=12
| 25 | | n=12 |
---|
13 | 25 |
| 13 |
---|
14 | 210 | 210 | | 14 |
---|
15 | 35 | 35 | | 15 |
16
| 310 | 45 | 410 | | 16 |
---|
17 | 310 | 55 | 65 | | 17
|
18 | 410 | 65 | 95 | 105
| | 18 |
---|
19 | 410 | 85
| 1210 | 195 | | 19 |
---|
20
| 510 | 1010 | 1721 | 205
| 385 | | 20 |
---|
21 | 75
| 1311 | 215 | 27- 359 | 38-
429 | | 21 |
---|
22 | 75
| 1621 | 24- 339 | 35- 519 | 46-
7321 | 46- 8121 | | 22 |
---|
23
| 85 | 2021 | 33- 469 | 45-
8120 | 54- 1179 | 65- 13520 |
| 23 |
---|
24 | 910 | 245 | 38- 609
| 56- 11920 | 72- 17120 | 95- 22320 | 122-
24720 | | 24 |
---|
25 | 1010 | 28-
329 | 48- 759 | 72- 15820 | 100-
26220 | 125- 383T | 132- 444T |
| 25 |
---|
26 | 135 | 28- 3614 | 54- 1049
| 91- 21420 | 130- 4109 | 168- 58120
| 195- 72820 | 210- 824T | | 26 |
---|
27
| 1410 | 36- 4814 | 66- 1219 | 118-
29920 | 162- 5779 | 222- 90020 | 351-
128920 | 405- 146020 | | 27 |
---|
28
| 1610 | 37- 569 | 78- 1689 | 132-
3769 | 210- 82120 | 286- 143420 | 365-
198120 | 756- 243820 | 790- 262920 | 28 |
---|
| w=6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
Bounds on A(n,12,w)
| w=7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
---|
n=14
| 25 | | n=14 |
---|
15 | 25 |
| 15 |
---|
16 | 25 | 210 | | 16 |
---|
17 | 210 | 210 | | 17 |
18
| 35 | 35 | 45 | | 18 |
---|
19 | 35 | 310 | 45 | | 19
|
20 | 310 | 55 | 55 | 65
| | 20 |
---|
21 | 310 | 55
| 75 | 75 | | 21 |
---|
22
| 45 | 65 | 85 | 115
| 125 | | 22 |
---|
23 | 410
| 610 | 1010 | 1610 | 235 | | 23 |
---|
24 | 410 | 95 | 165
| 245 | 245 | 465 | | 24 |
---|
25 | 510 | 105 | 255 | 28-
3820 | 36- 429 | 509 | | 25 |
26 | 510 | 135 | 265 | 33-
37T | 39- 6921 | 54- 8321 | 58-
9221 | | 26 |
27 | 610
| 1510 | 399 | 39- 58B | 54-
90B | 82- 14020 | 86- 15620 |
| 27 |
---|
28 | 85 | 1911 | 39- 4520
| 49- 87T | 65- 147B | 84- 19920 | 99-
24520 | 172- 26520 | 28 |
---|
| w=7 | 8 | 9 | 10
| 11 | 12 | 13 | 14 |
---|
Bounds on A(n,14,w)
| w=8 | 9 | 10 | 11 | 12 | 13 | 14 |
---|
n=16
| 25 | | n=16 |
---|
17 | 25 |
| 17 |
---|
18 | 25 | 25 | | 18 |
---|
19
| 25 | 210 | | 19 |
---|
20
| 210 | 210 | 210 | | 20 |
---|
21 | 35 | 35 | 35 | | 21
|
22 | 35 | 310 | 45 | 45
| | 22 |
---|
23 | 35 | 310
| 410 | 410 | | 23 |
---|
24
| 310 | 410 | 510 | 65
| 610 | | 24 |
---|
25 | 310
| 55 | 610 | 710 | 810 | | 25 |
---|
26 | 45 | 65 | 85
| 105 | 135 | 145 | | 26 |
---|
27 | 410 | 610 | 95 | 1310
| 19- 2010 | 275 | | 27 |
28
| 410 | 75 | 1110 | 215
| 285 | 285 | 545 | 28 |
---|
| w=8 | 9
| 10 | 11 | 12 | 13 | 14 |
---|