A074529 a(n) = 2^n + 3^n + 7^n.
3, 12, 62, 378, 2498, 17082, 118442, 825858, 5771618, 40373802, 282535322, 1977505938, 13841822738, 96890612922, 678227872202, 4747575891618, 33232973681858, 232630643258442, 1628413985593082, 11398896348158898
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..200
- Index entries for linear recurrences with constant coefficients, signature (12,-41,42).
Programs
-
Magma
[2^n + 3^n + 7^n: n in [0..25]]; // Vincenzo Librandi, Jun 11 2011
-
Mathematica
Table[2^n + 3^n + 7^n, {n, 0, 20}] LinearRecurrence[{12,-41,42},{3,12,62},20] (* Harvey P. Dale, Mar 29 2020 *)
Formula
From Mohammad K. Azarian, Dec 27 2008: (Start)
G.f.: 1/(1-2*x) + 1/(1-3*x) + 1/(1-7*x).
E.g.f.: exp(2*x) + exp(3*x) + exp(7*x). (End)