|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
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
|
(SageMath) [4^+5^n for n in range(31)] # G. C. Greubel, Jan 13 2024
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|