OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (12,-41,30).
FORMULA
G.f.: 1/(1-x)+1/(1-5*x)+1/(1-6*x). E.g.f.: e^x+e^(5*x)+e^(6*x). [Mohammad K. Azarian, Dec 26 2008]
a(n) = 11*a(n-1) - 30*a(n-2) + 20, n>1. [Gary Detlefs, Jun 21 2010]
MAPLE
MATHEMATICA
Table[1^n + 5^n + 6^n, {n, 0, 20}]
LinearRecurrence[{12, -41, 30}, {3, 12, 62}, 20] (* Harvey P. Dale, Apr 06 2018 *)
PROG
(Magma) [5^n+6^n+1^n: n in [0..30]]; // Vincenzo Librandi, Mar 24 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved