OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f.: 1000*x*(1 + 4*x + x^2)/(x-1)^4. - R. J. Mathar, Mar 20 2018
From Elmo R. Oliveira, Nov 28 2025: (Start)
E.g.f.: 1000*exp(x)*x*(1 + 3*x + x^2).
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). (End)
MATHEMATICA
(10 Range[0, 30])^3 (* Harvey P. Dale, Apr 15 2018 *)
(* Alternative: *)
LinearRecurrence[{4, -6, 4, -1}, {0, 1000, 8000, 27000}, 30] (* Harvey P. Dale, Apr 15 2018 *)
PROG
(Magma) [(10*n)^3: n in [0..40]]; // Vincenzo Librandi, Jul 28 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
