login
A074611
a(n) = 4^n + 5^n.
4
2, 9, 41, 189, 881, 4149, 19721, 94509, 456161, 2215269, 10814201, 53022429, 260917841, 1287811989, 6371951081, 31591319949, 156882857921, 780119322309, 3883416742361, 19348364235069, 96466943268401, 481235204714229
OFFSET
0,1
FORMULA
From Mohammad K. Azarian, Jan 11 2009: (Start)
G.f.: 1/(1-4*x) + 1/(1-5*x).
E.g.f.: exp(4*x) + exp(5*x). (End)
a(n) = 9*a(n-1) - 20*a(n-2), with n>1, a(0)=2, a(1)=9. - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[4^n + 5^n, {n, 0, 25}]
CoefficientList[Series[1/(1 - 4 x) + 1/(1 - 5 x), {x, 0, 30}], x] (* Vincenzo Librandi, Feb 06 2013 *)
PROG
(Magma) [4^n + 5^n: n in [0..30]]; // Vincenzo Librandi, Feb 06 2013
(SageMath) [4^+5^n for n in range(31)] # G. C. Greubel, Jan 13 2024
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 25 2002
STATUS
approved