login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A010095
Weight distribution of d=4 Hamming code of length 255.
1
1, 0, 680085, 1405509000, 1550251328625, 1046619143765400, 473991729034823125, 153151413728678046000, 36909490731397295108625, 6861064221248350742706000, 1009876431641919171349467525
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) = A010089(2n). - Georg Fischer, Jul 14 2020
MATHEMATICA
m:=255; 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 reference p. 129 *)
CROSSREFS
Cf. A010089.
Sequence in context: A253868 A253875 A253541 * A203713 A236986 A258607
KEYWORD
nonn,fini,full
AUTHOR
STATUS
approved