A074542 a(n) = 2^n + 6^n + 8^n.
3, 16, 104, 736, 5408, 40576, 308864, 2377216, 18457088, 144295936, 1134209024, 8952733696, 70896263168, 562816516096, 4476410691584, 35654557106176, 284296086683648, 2268726473261056, 18115958466412544, 144724547816390656
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..200
- Index entries for linear recurrences with constant coefficients, signature (16,-76,96).
Programs
-
Magma
[2^n + 6^n + 8^n: n in [0..20]]; // Vincenzo Librandi, Jun 11 2011
-
Mathematica
Table[2^n + 6^n + 8^n, {n, 0, 20}]
Formula
From Mohammad K. Azarian, Dec 27 2008: (Start)
G.f.: 1/(1-2*x) + 1/(1-6*x) + 1/(1-8*x).
E.g.f.: exp(2*x) + exp(6*x) + exp(8*x). (End)
a(n) = 16*a(n-1) - 76*a(n-2) + 96*a(n-3). - Wesley Ivan Hurt, Jun 26 2022