OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (12, -32).
FORMULA
a(n) = 12*a(n-1)-32*a(n-2) for n > 1; a(0) = 1, a(1) = 10.
G.f.: (1-2*x)/((1-4*x)*(1-8*x)).
MATHEMATICA
Table[(3*8^n-4^n)/2, {n, 0, 20}] (* Harvey P. Dale, Jul 23 2014 *)
PROG
(Magma) [ (3*8^n-4^n)/2: n in [0..19] ];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Sep 15 2009
STATUS
approved