%I #10 Jul 14 2020 20:35:31
%S 1,0,82677,40346376,10472045985,1633772700952,167982323077989,
%T 12100259735369136,638087062835640873,25460924781434105040,
%U 788752649609653468509,19363706818511194074168
%N Weight distribution of d=4 Hamming code of length 127.
%D F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes, Elsevier-North Holland, 1978, p. 129.
%H Georg Fischer, <a href="/A010093/b010093.txt">Table of n, a(n) for n = 0..62</a>
%H <a href="/wiki/List_of_weight_distributions">List of weight distributions</a>
%F a(n) = A010088(2n). - _Georg Fischer_, Jul 14 2020
%t m:=127; RecurrenceTable[{a[n]==(Binomial[m, n-1]-a[n-1]-(m-n+2)*a[n-2])/n,
%t a[0]==1, a[1]==0}, a, {n, 0, m}][[1;;m-2;;2]] (* _Georg Fischer_, Jul 14 2020; from the reference p. 129 *)
%Y Cf. A010088.
%K nonn,fini,full
%O 0,3
%A _N. J. A. Sloane_.
|