OFFSET
0,1
COMMENTS
Subsequence of A226810. - Bruno Berselli, May 13 2014
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6,-5).
FORMULA
G.f.: (5-21*x)/((1-x)*(1-5*x)).
a(n) = 6*a(n-1) - 5*a(n-2) for n > 1.
From Elmo R. Oliveira, Dec 06 2023: (Start)
a(n) = 5*a(n-1) - 16 with a(0) = 5.
E.g.f.: exp(5*x) + 4*exp(x). (End)
MATHEMATICA
Table[5^n + 4, {n, 0, 30}]
PROG
(Magma) [5^n+4: n in [0..30]];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, May 13 2014
STATUS
approved