login
A074526
a(n) = 2^n + 3^n + 4^n.
4
3, 9, 29, 99, 353, 1299, 4889, 18699, 72353, 282339, 1108649, 4373499, 17312753, 68711379, 273234809, 1088123499, 4338079553, 17309140419, 69107159369, 276040692699, 1102999460753, 4408508961459, 17623571298329
OFFSET
0,1
FORMULA
From Mohammad K. Azarian, Dec 26 2008: (Start)
G.f.: 1/(1-2*x)+1/(1-3*x)+1/(1-4*x).
E.g.f.: exp(2*x)+exp(3*x)+exp(4*x). (End)
MATHEMATICA
Table[2^n + 3^n + 4^n, {n, 0, 23}]
LinearRecurrence[{9, -26, 24}, {3, 9, 29}, 30] (* Harvey P. Dale, Jun 14 2022 *)
PROG
(Magma) [2^n + 3^n + 4^n: n in [0..25]]; // Vincenzo Librandi, Jun 11 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved