A074526 a(n) = 2^n + 3^n + 4^n.
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
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..200
- Index entries for linear recurrences with constant coefficients, signature (9,-26,24).
Programs
-
Magma
[2^n + 3^n + 4^n: n in [0..25]]; // Vincenzo Librandi, Jun 11 2011
-
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 *)
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)