OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (26,-223,630).
FORMULA
G.f.: 1/((1-7*x)*(1-9*x)*(1-10*x)).
a(n) = 26*a(n-1) - 223*a(n-2) + 630*a(n-3), n>=3. - Vincenzo Librandi, Mar 15 2011
a(n) = 19*a(n-1) - 90*a(n-2) + 7^n, a(0)=1, a(1)=26. - Vincenzo Librandi, Mar 15 2011
a(n) = (7^(n+2)-3*9^(n+2)+2*10^(n+2))/6. - Bruno Berselli, Mar 15 2011
MATHEMATICA
CoefficientList[Series[1/((1-7x)(1-9x)(1-10x)), {x, 0, 50}], x] (* G. C. Greubel, May 31 2018 *)
PROG
(PARI) x='x+O('x^30); Vec(1/((1-7*x)*(1-9*x)*(1-10*x))) \\ G. C. Greubel, May 31 2018
(Magma) m:=25; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-7*x)*(1-9*x)*(1-10*x)))); // G. C. Greubel, May 31 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved