login
A010091
Weight distribution of d=4 Hamming code of length 31.
0
1, 0, 1085, 22568, 247845, 1383096, 4414865, 8280720, 9398115, 6440560, 2648919, 628680, 82615, 5208, 155
OFFSET
0,3
REFERENCES
F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes, Elsevier-North Holland, 1978, p. 129.
FORMULA
a(n) = A010086(2n). - Alois P. Heinz, Jul 14 2020
MATHEMATICA
m:=31; RecurrenceTable[{a[n]==(Binomial[m, n-1]-a[n-1]-(m-n+2)*a[n-2])/n, a[0]==1, a[1]==0}, a, {n, 0, m}][[1;; m-2;; 2]] (* Georg Fischer, Jul 14 2020; from the ref. p. 129 *)
CROSSREFS
Cf. A010086.
Sequence in context: A165809 A332069 A237804 * A206630 A191944 A157256
KEYWORD
nonn,fini,full
AUTHOR
STATUS
approved