OFFSET
3,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 3..200
FORMULA
G.f.: x^3/((1-x)*(1-7*x)*(1-49*x)*(1-343*x)).
a(n) = Product_{i=1..3} (7^(n-i+1)-1)/(7^i-1), by definition. - Vincenzo Librandi, Aug 06 2016
MATHEMATICA
Table[QBinomial[n, 3, 7], {n, 3, 20}] (* Vincenzo Librandi, Aug 06 2016 *)
PROG
(Sage) [gaussian_binomial(n, 3, 7) for n in range(3, 15)] # Zerinvary Lajos, May 27 2009
(Magma) r:=3; q:=7; [&*[(1-q^(n-i+1))/(1-q^i): i in [1..r]]: n in [r..20]]; // Vincenzo Librandi, Aug 06 2016
(PARI) r=3; q=7; for(n=r, 30, print1(prod(j=1, r, (1-q^(n-j+1))/(1-q^j)), ", ")) \\ G. C. Greubel, Jun 13 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Offset changed by Vincenzo Librandi, Aug 06 2016
STATUS
approved