OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (8,-17,10).
FORMULA
From Mohammad K. Azarian, Dec 26 2008: (Start)
G.f.: 1/(1-x) + 1/(1-2*x) + 1/(1-5*x).
E.g.f.: e^x + e^(2*x) + e^(5*x). (End)
a(n) = 7*a(n-1) - 10*a(n-2) + 4 with a(0)=3, a(1)=8. - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[1^n + 2^n + 5^n, {n, 0, 24}]
PROG
(PARI) a(n)=1+2^n+5^n \\ Charles R Greathouse IV, Jun 10 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved