OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (19,-118,240).
FORMULA
From Vincenzo Librandi, Oct 09 2011: (Start)
a(n) = (8^(n+2) + 2*5^(n+2) - 3*6^(n+2))/6.
a(n) = 14*a(n-1) - 48*a(n-2) + 5^n.
a(n) = 19*a(n-1) - 118*a(n-2) + 240*a(n-3), n >= 3. (End)
PROG
(Magma) [(8^(n+2)+2*5^(n+2)-3*6^(n+2))/6 : n in [0..20]]; // Vincenzo Librandi, Oct 09 2011
(PARI) Vec(1/((1-5*x)*(1-6*x)*(1-8*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved