OFFSET
0,2
COMMENTS
Binomial transform of A152106. Tenth binomial transform of powers of 4 interleaved with zeros.
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) = (12^n + 8^n)/2.
G.f.: (1-10*x)/((1-8*x)*(1-12*x)).
E.g.f.: exp(10*x)*cosh(2*x). - Elmo R. Oliveira, Aug 23 2024
PROG
(Magma) [ n le 2 select 9*n-8 else 20*Self(n-1)-96*Self(n-2): n in [1..18] ];
(PARI) a(n) = (12^n+8^n)/2; \\ Jinyuan Wang, Mar 23 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Jul 22 2009
STATUS
approved