login
A074504
a(n) = 1^n + 2^n + 8^n.
0
3, 11, 69, 521, 4113, 32801, 262209, 2097281, 16777473, 134218241, 1073742849, 8589936641, 68719480833, 549755822081, 4398046527489, 35184372121601, 281474976776193, 2251799813816321, 18014398509744129, 144115188076380161
OFFSET
0,1
FORMULA
From Mohammad K. Azarian, Dec 26 2008: (Start)
G.f.: 1/(1-x) + 1/(1-2*x) + 1/(1-8*x).
E.g.f.: e^x + e^(2*x) + e^(8*x). (End)
a(n) = 10*a(n-1) - 16*a(n-2) + 7 with a(0)=3, a(1)=11. - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[1^n + 2^n + 8^n, {n, 0, 20}]
LinearRecurrence[{11, -26, 16}, {3, 11, 69}, 20] (* Harvey P. Dale, Oct 17 2020 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved