OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6,-5).
FORMULA
a(n) = 5*(a(n-1) - 4) with a(0) = 6.
G.f.: (6-26*x)/((1-5*x)*(1-x)). - R. J. Mathar, Jan 05 2011
a(n) = 6*a(n-1) - 5*a(n-2) for n > 1. - Vincenzo Librandi, Sep 30 2013
E.g.f.: exp(5*x) + 5*exp(x). - G. C. Greubel, Jan 27 2019
EXAMPLE
G.f. = 6 + 10*x + 30*x^2 + 130*x^3 + 630*x^4 + 3130*x^5 + 15630*x^6 + ... - Michael Somos, Jan 28 2019
MATHEMATICA
Table[5^n + 5, {n, 0, 40}] (* Vincenzo Librandi, Sep 30 2013 *)
PROG
(Magma) [5^n+5: n in [0..35]];
(PARI) a(n)=5^n+5 \\ Charles R Greathouse IV, Oct 07 2015
(Sage) [5^n+5 for n in range(40)] # G. C. Greubel, Jan 27 2019
(GAP) List([0..30], n -> 5^n +5); # G. C. Greubel, Jan 27 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Dec 25 2010
STATUS
approved