OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4, -6, 4, -1).
FORMULA
a(0)=0, a(1)=125, a(2)=1000, a(3)=3375, a(n)=4*a(n-1)-6*a(n-2)+ 4*a(n-3)- a(n-4). - Harvey P. Dale, Jun 18 2011
G.f.: (125*(x+4*x^2+x^3))/(x-1)^4. - Harvey P. Dale, Jun 18 2011
a(n) = 125*A000578(n). - Michel Marcus, Feb 14 2014
MATHEMATICA
(5Range[0, 30])^3 (* or *) LinearRecurrence[{4, -6, 4, -1}, {0, 125, 1000, 3375}, 30] (* Harvey P. Dale, Jun 18 2011 *)
PROG
(PARI) a(n) = 125*n^3; \\ Michel Marcus, Feb 14 2014
(Magma) [(5*n)^3: n in [0..40]]; // Vincenzo Librandi, Feb 14 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Michel Marcus, Feb 14 2014
STATUS
approved