OFFSET
0,1
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
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4); a(0)=216, a(1)=4913, a(2)=21952, a(3)=59319. - Harvey P. Dale, May 16 2012
From G. C. Greubel, Sep 19 2019: (Start)
G.f.: (216 +4049*x +3596*x^2 +125*x^3)/(1-x)^4.
E.g.f.: (216 +4697*x +6171*x^2 +1331*x^3)*exp(x). (End)
MAPLE
seq((11*n+6)^3, n=0..40); # G. C. Greubel, Sep 19 2019
MATHEMATICA
(* From Harvey P. Dale, May 16 2012 : (Start) *)
(11Range[0, 40]+6)^3
LinearRecurrence[{4, -6, 4, -1}, {216, 4913, 21952, 59319}, 40] (* End *)
PROG
(Magma) [(11*n+6)^3: n in [0..40]]; // Vincenzo Librandi, Sep 03 2011
(PARI) vector(40, n, (11*n-5)^3) \\ G. C. Greubel, Sep 19 2019
(Sage) [(11*n+6)^3 for n in (0..40)] # G. C. Greubel, Sep 19 2019
(GAP) List([0..40], n-> (11*n+6)^3); # G. C. Greubel, Sep 19 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved