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

 


A015247
a(n) = (2*n - 15)*n^2.
1
0, -13, -44, -81, -112, -125, -108, -49, 64, 243, 500, 847, 1296, 1859, 2548, 3375, 4352, 5491, 6804, 8303, 10000, 11907, 14036, 16399, 19008, 21875, 25012, 28431, 32144, 36163, 40500, 45167, 50176, 55539
OFFSET
0,2
FORMULA
G.f.: x*(-13 + 8*x + 17*x^2)/(1-x)^4. - Ivan Panchenko, Nov 09 2013
From G. C. Greubel, Jul 30 2016: (Start)
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4).
E.g.f.: x*(-13 - 9*x + 2*x^2)*exp(x). (End)
MATHEMATICA
Table[(2*n - 15)*n^2 , {n, 0, 25}] (* or *) LinearRecurrence[{4, -6, 4, -1}, {0, -13, -44, -81}, 25] (* G. C. Greubel, Jul 30 2016 *)
PROG
(PARI) a(n)=(2*n-15)*n^2 \\ Charles R Greathouse IV, Jul 30 2016
CROSSREFS
Sequence in context: A228505 A224102 A123294 * A033652 A026914 A226514
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Dec 11 1999
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 21 22:57 EDT 2024. Contains 376090 sequences. (Running on oeis4.)