OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (19,-95,77).
FORMULA
a(0)=1, a(1)=19, a(n) = 18*a(n-1) - 77*a(n-2) + 1. - Vincenzo Librandi, Feb 10 2011
a(n) = (3*11^(n+2) - 5*7^(n+2) + 2)/120. - Yahia Kahloune, Jul 09 2013
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-7x)(1-11x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{19, -95, 77}, {1, 19, 266}, 30] (* Harvey P. Dale, Feb 01 2024 *)
PROG
(PARI) Vec(1/((1-x)*(1-7*x)*(1-11*x)) + O(x^40)) \\ Michel Marcus, Sep 04 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved