login
A074509
a(n) = 1^n + 3^n + 7^n.
0
3, 11, 59, 371, 2483, 17051, 118379, 825731, 5771363, 40373291, 282534299, 1977503891, 13841818643, 96890604731, 678227855819, 4747575858851, 33232973616323, 232630643127371, 1628413985330939, 11398896347634611
OFFSET
0,1
FORMULA
From Mohammad K. Azarian, Dec 26 2008: (Start)
G.f.: 1/(1-x) + 1/(1-3*x) + 1/(1-7*x).
E.g.f.: e^x + e^(3*x) + e^(7*x). (End)
a(n) = 10*a(n-1) - 21*a(n-2) + 12 with a(0)=3, a(1)=11. - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[1^n + 3^n + 7^n, {n, 0, 20}]
LinearRecurrence[{11, -31, 21}, {3, 11, 59}, 31] (* Harvey P. Dale, Apr 23 2011 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved