OFFSET
0,2
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (20,-96).
FORMULA
a(n) = 20*a(n-1) - 96*a(n-2) for n > 1; a(0) = 1, a(1) = 14.
G.f.: (1 - 6*x)/((1 - 8*x)*(1 - 12*x)).
E.g.f.: exp(8*x)*(3*exp(4*x) - 1)/2. - Stefano Spezia, Mar 30 2023
MAPLE
MATHEMATICA
Table[(3*12^n - 8^n)/2, {n, 0, 17}] (* Wesley Ivan Hurt, Jan 29 2014 *)
PROG
(Magma) [ (3*12^n-8^n)/2: n in [0..17] ];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Sep 15 2009
STATUS
approved