A074547 a(n) = 3^n + 4^n + 5^n.
3, 12, 50, 216, 962, 4392, 20450, 96696, 462722, 2234952, 10873250, 53199576, 261449282, 1289406312, 6376734050, 31605668856, 156925904642, 780248462472, 3883804162850, 19349526496536, 96470430052802, 481245665067432
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..200
- Index entries for linear recurrences with constant coefficients, signature (12,-47,60).
Programs
-
Magma
[3^n + 4^n + 5^n: n in [0..30]]; // Vincenzo Librandi, Jun 13 2011
-
Mathematica
Table[3^n + 4^n + 5^n, {n, 0, 21}]
Formula
From Mohammad K. Azarian, Dec 28 2008: (Start)
G.f.: 1/(1-3*x) + 1/(1-4*x) + 1/(1-5*x).
E.g.f.: exp(3*x) + exp(4*x) + exp(5*x). (End)
a(n) = 12*a(n-1) - 47*a(n-2) + 60*a(n-3).