A074603 a(n) = 2^n + 8^n.
2, 10, 68, 520, 4112, 32800, 262208, 2097280, 16777472, 134218240, 1073742848, 8589936640, 68719480832, 549755822080, 4398046527488, 35184372121600, 281474976776192, 2251799813816320, 18014398509744128, 144115188076380160
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..200
- Index entries for linear recurrences with constant coefficients, signature (10,-16).
Crossrefs
Programs
-
Magma
[2^n + 8^n: n in [0..35]]; // Vincenzo Librandi, Apr 30 2011
-
Mathematica
Table[2^n + 8^n, {n, 0, 25}] LinearRecurrence[{10,-16},{2,10},30] (* Harvey P. Dale, Jan 23 2015 *)
Formula
a(n) = 8*a(n-1) - 2^n = 10*a(n-1) - 16*a(n-2).
From Mohammad K. Azarian, Jan 02 2009: (Start)
G.f.: 1/(1-2*x) + 1/(1-8*x).
E.g.f.: e^(2*x) + e^(8*x). (End)