OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (25,-178,264).
FORMULA
From Vincenzo Librandi, Oct 09 2011: (Start)
a(n) = (648*12^n + 2^(n+1) - 5*11^(n+2))/45.
a(n) = 23*a(n-1) - 132*a(n-2) + 2^n.
a(n) = 25*a(n-1) - 178*a(n-2) + 264*a(n-3), n >= 3. (End)
MATHEMATICA
CoefficientList[Series[1/((1 - 2 x) (1 - 11 x) (1 - 12 x)), {x, 0, 15}], x] (* Michael De Vlieger, Jan 31 2018 *)
PROG
(Sage) [(12^n - 2^n)/10-(11^n - 2^n)/9 for n in range(2, 18)] # Zerinvary Lajos, Jun 05 2009
(Magma) [(648*12^n +2^(n+1)-5*11^(n+2))/45 : n in [0..20]]; // Vincenzo Librandi, Oct 09 2011
(PARI) Vec(1/((1-2*x)*(1-11*x)*(1-12*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved