OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (15,-75,125).
FORMULA
From Harvey P. Dale, Dec 30 2011: (Start)
a(n) = 15*a(n-1) - 75*a(n-2) + 125*a(n-3), a(0)=0, a(1)=5, a(2)=100.
G.f.: -5*x*(5*x+1)/(5*x-1)^3. (End)
E.g.f.: 5*x*(5*x+1)*exp(5*x). - Elmo R. Oliveira, Dec 24 2025
MATHEMATICA
Table[n^2 5^n, {n, 0, 20}] (* Harvey P. Dale, Dec 30 2011 *)
(* Alternative: *)
LinearRecurrence[{15, -75, 125}, {0, 5, 100}, 20] (* Harvey P. Dale, Dec 30 2011 *)
PROG
(PARI) a(n)=n^2*5^n \\ Charles R Greathouse IV, May 16 2018
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Mohammad K. Azarian, Apr 07 2007
STATUS
approved
