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!)
A015243 a(n) = (2*n - 9)*n^2. 1
0, -7, -20, -27, -16, 25, 108, 245, 448, 729, 1100, 1573, 2160, 2873, 3724, 4725, 5888, 7225, 8748, 10469, 12400, 14553, 16940, 19573, 22464, 25625, 29068, 32805, 36848, 41209, 45900, 50933, 56320, 62073 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: x*(-7 + 8*x + 11*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*(-7 - 3*x + 2*x^2)*exp(x). (End)
MATHEMATICA
Table[(2*n - 9)*n^2, {n, 0, 25}] (* or *) LinearRecurrence[{4, -6, 4, -1}, {0, -7, -20, -27}, 25] (* G. C. Greubel, Jul 30 2016 *)
PROG
(PARI) a(n)=(2*n-9)*n^2 \\ Charles R Greathouse IV, Jul 30 2016
CROSSREFS
Sequence in context: A037005 A022419 A070413 * A055069 A134863 A214924
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Dec 11 1999
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 April 23 13:04 EDT 2024. Contains 371913 sequences. (Running on oeis4.)