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,-136,192).
FORMULA
From Vincenzo Librandi, Oct 09 2011: (Start)
a(n) = (54*12^n + 2^n - 40*8^n)/15.
a(n) = 20*a(n-1) - 96*a(n-2) + 2^n.
a(n) = 22*a(n-1) - 136*a(n-2) + 192*a(n-3), n >= 3. (End)
PROG
(Magma) [(54*12^n + 2^n -40*8^n)/15 : n in [0..20]]; // Vincenzo Librandi, Oct 09 2011
(PARI) Vec(1/((1-2*x)*(1-8*x)*(1-12*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved