OFFSET
12,2
REFERENCES
F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes, Elsevier-North Holland, 1978, p. 698.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 12..200
FORMULA
a(n) = Product_{i=1..12} (2^(n-i+1)-1)/(2^i-1), by definition. - Vincenzo Librandi, Aug 03 2016
MATHEMATICA
Table[QBinomial[n, 12, 2], {n, 12, 200}] (* Vincenzo Librandi, Aug 03 2016 *)
PROG
(Sage) [gaussian_binomial(n, 12, 2) for n in range(12, 23)] # Zerinvary Lajos, May 25 2009
(Magma) r:=12; q:=2; [&*[(1-q^(n-i+1))/(1-q^i): i in [1..r]]: n in [r..25]]; // Vincenzo Librandi, Aug 03 2016
(PARI) r=12; q=2; for(n=r, 30, print1(prod(j=1, r, (1-q^(n-j+1))/(1-q^j)), ", ")) \\ G. C. Greubel, May 30 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset changed by Vincenzo Librandi, Aug 03 2016
STATUS
approved