OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (5,25).
FORMULA
a(n) = Trace of matrix [({5,5},{5,0})^n].
a(n) = 5^n * Trace of matrix [({1,1},{1,0})^n].
From Colin Barker, Sep 02 2013: (Start)
a(n) = 5*a(n-1) + 25*a(n-2).
G.f.: -5*x*(10*x+1)/(25*x^2+5*x-1). (End)
MATHEMATICA
Table[5^n Tr[MatrixPower[{{1, 1}, {1, 0}}, x]], {x, 1, 20}]
Table[5^n*LucasL[n], {n, 1, 50}] (* G. C. Greubel, Dec 18 2017 *)
LinearRecurrence[{5, 25}, {5, 75}, 20] (* Harvey P. Dale, Jan 11 2024 *)
PROG
(PARI) x='x+O('x^30); Vec(-5*x*(10*x+1)/(25*x^2+5*x-1)) \\ G. C. Greubel, Dec 18 2017
(Magma) [5^n*Lucas(n): n in [1..30]]; // G. C. Greubel, Dec 18 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Jan 09 2007
STATUS
approved