OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6,-5).
FORMULA
From R. J. Mathar, Jan 04 2011: (Start)
a(n) = 25*A003463(n).
a(n) = +6*a(n-1) -5*a(n-2).
G.f.: 25*x / ( (5*x-1)*(x-1) ). (End)
E.g.f.: (25/4)*(exp(5*x) - exp(x)). - G. C. Greubel, Jul 26 2016
MATHEMATICA
CoefficientList[Series[25 x / ((1 - x) (1 - 5 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Sep 24 2014 *)
LinearRecurrence[{6, -5}, {0, 25}, 25] (* G. C. Greubel, Jul 26 2016 *)
PROG
(Magma) [25*(5^n-1)/4: n in [0..30]]; // Vincenzo Librandi, Sep 24 2014
(PARI) a(n)=25*(5^n-1)/4 \\ Charles R Greathouse IV, Jul 26 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 30 2009
EXTENSIONS
Definition and examples simplified by Jon E. Schoenfield, Jun 19 2010
STATUS
approved