OFFSET
7,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 = 7..200
FORMULA
G.f.: x^7/((1-x)*(1-5*x)*(1-25*x)*(1-125*x)*(1-625*x)*(1-3125*x)*(1-15625*x)*(1-78125*x)). - Vincenzo Librandi, Aug 10 2016
a(n) = Product_{i=1..7} (5^(n-i+1)-1)/(5^i-1), by definition. - Vincenzo Librandi, Aug 10 2016
MATHEMATICA
Table[QBinomial[n, 7, 5], {n, 7, 20}] (* Harvey P. Dale, Sep 18 2011 *)
PROG
(Sage) [gaussian_binomial(n, 7, 5) for n in range(7, 16)] # Zerinvary Lajos, May 27 2009
(Magma) r:=7; q:=5; [&*[(1-q^(n-i+1))/(1-q^i): i in [1..r]]: n in [r..20]]; // Vincenzo Librandi, Aug 10 2016
(PARI) r=7; q=5; for(n=r, 30, print1(prod(j=1, r, (1-q^(n-j+1))/(1-q^j)), ", ")) \\ G. C. Greubel, Jun 04 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved