OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (22,-139,198).
FORMULA
From Vincenzo Librandi, Oct 09 2011: (Start)
a(n) = (7*11^(n+2) + 2^(n+3) - 9^(n+3))/126.
a(n) = 20*a(n-1) - 99*a(n-2) + 2^n.
a(n) = 22*a(n-1) - 139*a(n-2) + 198*a(n-3), n >= 3. (End)
MATHEMATICA
CoefficientList[Series[1/((1-2x)(1-9x)(1-11x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{22, -139, 198}, {1, 22, 345}, 30] (* Harvey P. Dale, Oct 15 2019 *)
PROG
(Magma) [(7*11^(n+2) +2^(n+3)-9^(n+3))/126 : n in [0..20]]; // Vincenzo Librandi, Oct 09 2011
(PARI) Vec(1/((1-2*x)*(1-9*x)*(1-11*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
