OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (11,-31,21).
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