login
A074525
a(n) = 1^n + 8^n + 9^n.
0
3, 18, 146, 1242, 10658, 91818, 793586, 6880122, 59823938, 521638218, 4560526226, 39970994202, 351149013218, 3091621642218, 27274838966066, 241075504183482, 2134495165562498, 18928981513351818, 168109033806481106
OFFSET
0,1
FORMULA
From Mohammad K. Azarian, Dec 26 2008: (Start)
G.f.: 1/(1-x) + 1/(1-8*x) + 1/(1-9*x).
E.g.f.: e^x + e^(8*x) + e^(9*x). (End)
a(n) = 17*a(n-1) - 72*a(n-2) + 56 with a(0)=3, a(1)=18. - Vincenzo Librandi, Jul 21 2010
a(0)=3, a(1)=18, a(2)=146, a(n) = 18*a(n-1) - 89*a(n-2) + 72*a(n-3). - Harvey P. Dale, Mar 23 2012
MATHEMATICA
Table[1^n + 8^n + 9^n, {n, 0, 20}]
LinearRecurrence[{18, -89, 72}, {3, 18, 146}, 20] (* Harvey P. Dale, Mar 23 2012 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved