OFFSET
0,2
COMMENTS
Binomial transform of A025551. 7th binomial transform of {1, 0, 9, 0, 81, 0, 729, 0, ...}.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (14,-40).
FORMULA
a(n) = 14*a(n-1) -40*a(n-2), a(0)=1, a(1)=7.
G.f.: (1-7*x)/((1-4*x)*(1-10*x)).
E.g.f.: exp(7*x) * cosh(3*x).
a(n) = ((7+sqrt(9))^n + (7-sqrt(9))^n)/2. - Al Hakanson (hawkuu(AT)gmail.com), Dec 08 2008
MAPLE
seq( (10^n + 4^n)/2, n=0..25); # G. C. Greubel, Jan 07 2020
MATHEMATICA
CoefficientList[Series[(1-7x)/((1-4x)(1-10x)), {x, 0, 20}], x] (* Vincenzo Librandi, Aug 08 2013 *)
PROG
(Magma) [(10^n+4^n)/2: n in [0..25]]; // Vincenzo Librandi, Aug 08 2013
(PARI) a(n)=(10^n+4^n)/2 \\ Charles R Greathouse IV, Oct 07 2015
(Sage) [(10^n + 4^n)/2 for n in (0..25)] # G. C. Greubel, Jan 07 2020
(GAP) List([0..25], n-> (10^n + 4^n)/2); # G. C. Greubel, Jan 07 2020
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Mar 18 2003
STATUS
approved