OFFSET
0,2
COMMENTS
Binomial transform of A081336.
5th binomial transform of (1,0,4,0,16,0,64,...).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (10,-21).
FORMULA
a(n) = 10*a(n-1) - 21*a(n-2), a(0)=1, a(1)=5.
G.f.: (1-5*x)/((1-3*x)*(1-7*x)).
E.g.f.: exp(5*x) * cosh(2*x).
a(n) = A074608(n) / 2. - Michel Marcus, Oct 07 2015
MATHEMATICA
CoefficientList[Series[(1 - 5 x) / ((1 - 3 x) (1 - 7 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Aug 08 2013 *)
LinearRecurrence[{10, -21}, {1, 5}, 30] (* Harvey P. Dale, Dec 07 2014 *)
PROG
(Magma) [(7^n+3^n)/2: n in [0..25]]; // Vincenzo Librandi, Aug 08 2013
(PARI) a(n)=(7^n+3^n)/2 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Mar 18 2003
STATUS
approved