login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

REFERENCES

F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes, Elsevier-North Holland, 1978, p. 129.

LINKS

Table of n, a(n) for n=0..14.

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, 14 Jul 2020; from the ref. p. 129 *)

CROSSREFS

Cf. A010086.

Sequence in context: A165809 A332069 A237804 * A206630 A191944 A157256

Adjacent sequences: A010088 A010089 A010090 * A010092 A010093 A010094

KEYWORD

nonn,fini,full

AUTHOR

N. J. A. Sloane.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 30 00:49 EDT 2023. Contains 361599 sequences. (Running on oeis4.)