login
A074519
a(n) = 1^n + 5^n + 9^n.
0
3, 15, 107, 855, 7187, 62175, 547067, 4861095, 43437347, 389373615, 3496550027, 31429887735, 282673677107, 2543086531455, 22882895970587, 205921649672775, 1853172776742467, 16677944639119695, 150098449994264747
OFFSET
0,1
FORMULA
From Mohammad K. Azarian, Dec 26 2008: (Start)
G.f.: 1/(1-x) + 1/(1-5*x) + 1/(1-9*x).
E.g.f.: e^x + e^(5*x) + e^(9*x). (End)
a(n) = 14*a(n-1) - 45*a(n-2) + 32 with a(0)=3, a(1)=15. - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[1^n + 5^n + 9^n, {n, 0, 20}]
LinearRecurrence[{15, -59, 45}, {3, 15, 107}, 20] (* Harvey P. Dale, Oct 10 2017 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved