login
A074508
a(n) = 1^n + 3^n + 6^n.
1
3, 10, 46, 244, 1378, 8020, 47386, 282124, 1686178, 10097380, 60525226, 362974204, 2177313778, 13062288340, 78368947066, 470199333484, 2821152954178, 16926788584900, 101560344088906, 609360902271964
OFFSET
0,1
FORMULA
G.f.: 1/(1-x)+1/(1-3*x)+1/(1-6*x). E.g.f.: e^x+e^(3*x)+e^(6*x). [Mohammad K. Azarian, Dec 26 2008]
a(n) = 9*a(n-1) - 18*a(n-2) + 10, n>1. [Gary Detlefs, Jun 21 2010]
MATHEMATICA
Table[1^n + 3^n + 6^n, {n, 0, 20}]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved