OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..955
Index entries for linear recurrences with constant coefficients, signature (28,-257,770).
FORMULA
a(n) = 28*a(n-1) - 257*a(n-2) + 770*a(n-3) for n>=3. - Vincenzo Librandi, Mar 15 2011
a(n) = 21*a(n-1) - 110*a(n-2) + 7^n for n>1, a(0)=1, a(1)=28. - Vincenzo Librandi, Mar 15 2011
a(n) = (3*11^(n+2) - 4*10^(n+2) + 7^(n+2))/12. - Yahia Kahloune, Jun 30 2013
MATHEMATICA
CoefficientList[Series[1/((1-7x)(1-10x)(1-11x)), {x, 0, 50}], x] (* G. C. Greubel, May 31 2018 *)
PROG
(PARI) x='x+O('x^30); Vec(1/((1-7*x)*(1-10*x)*(1-11*x))) \\ G. C. Greubel, May 31 2018
(Magma) m:=25; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-7*x)*(1-10*x)*(1-11*x)))); // G. C. Greubel, May 31 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved