OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (29,-278,880).
FORMULA
a(0)=1, a(1)=29, a(2)=563; for n>2, a(n) = 29*a(n-1)-278*a(n-2) + 880*a(n-3). - Harvey P. Dale, Dec 19 2012
a(n) = (2*11^(n+2) - 3*10^(n+2) + 8^(n+2))/6. - Yahia Kahloune, Jun 30 2013
a(0)=1, a(1)=29; for n>1, a(n) = 21*a(n-1) -110*a(n-2) +8^(n-1). - Vincenzo Librandi, Jul 08 2013
MATHEMATICA
CoefficientList[Series[1 / ((1 - 8 x) (1 - 10 x) (1 - 11 x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{29, -278, 880}, {1, 29, 563}, 30] (* Harvey P. Dale, Dec 19 2012 *)
PROG
(Magma) I:=[1, 29, 563]; [n le 3 select I[n] else 29*Self(n-1)-278*Self(n-2)+880*Self(n-3): n in [1..20]]; /* or */ m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-8*x)*(1-10*x)*(1-11*x)))); // Vincenzo Librandi, Jul 08 2013
(PARI) x='x+O('x^30); Vec(1/((1-8*x)*(1-10*x)*(1-11*x))) \\ G. C. Greubel, Feb 09 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved