login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127148 Q(n,6), where Q(m,k) is defined in A127080 and A127137. 2
-120, -15, 48, 75, 72, 45, 0, -57, -120, -183, -240, -285, -312, -315, -288, -225, -120, 33, 240, 507, 840, 1245, 1728, 2295, 2952, 3705, 4560, 5523, 6600, 7797, 9120, 10575, 12168, 13905, 15792, 17835, 20040, 22413, 24960, 27687, 30600, 33705, 37008, 40515, 44232, 48165 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

REFERENCES

V. van der Noort and N. J. A. Sloane, Paper in preparation, 2007.

LINKS

Colin Barker, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).

FORMULA

a(n) = n^3 -24*n^2 +128*n -120.

a(n) = 4*a(n-1) -6*a(n-2) +4*a(n-3) -a(n-4), a(0)=-120, a(1)=-15, a(2)=48, a(3)=75. - Harvey P. Dale, Oct 22 2013

G.f.: (-3)*(40-155*x+204*x^2-91*x^3)/(1-x)^4. - Colin Barker, Nov 11 2014

E.g.f.: (-120 + 105*x - 21*x^2 + x^3)*exp(x). - G. C. Greubel, Aug 12 2019

MAPLE

seq(n^3 -24*n^2 +128*n -120, n=0..50); # G. C. Greubel, Aug 12 2019

MATHEMATICA

Table[n^3-24n^2+128n-120, {n, 0, 50}] (* or *) LinearRecurrence[{4, -6, 4, -1}, {-120, -15, 48, 75}, 50] (* Harvey P. Dale, Oct 22 2013 *)

PROG

(PARI) Vec(3*(91*x^3-204*x^2+155*x-40)/(x-1)^4 + O(x^50)) \\ Colin Barker, Nov 11 2014

(MAGMA) [n^3 -24*n^2 +128*n -120: n in [0..50]]; // G. C. Greubel, Aug 12 2019

(Sage) [n^3 -24*n^2 +128*n -120 for n in (0..50)] # G. C. Greubel, Aug 12 2019

(GAP) List([0..50], n-> n^3 -24*n^2 +128*n -120); # G. C. Greubel, Aug 12 2019

CROSSREFS

A row of A127080.

Sequence in context: A062690 A267745 A267025 * A228746 A051727 A174867

Adjacent sequences:  A127145 A127146 A127147 * A127149 A127150 A127151

KEYWORD

sign,easy

AUTHOR

N. J. A. Sloane, Mar 24 2007

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 12 23:52 EDT 2022. Contains 356077 sequences. (Running on oeis4.)