login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A015238 a(n) = (2*n - 3)n^2. 3
0, -1, 4, 27, 80, 175, 324, 539, 832, 1215, 1700, 2299, 3024, 3887, 4900, 6075, 7424, 8959, 10692, 12635, 14800, 17199, 19844, 22747, 25920, 29375, 33124, 37179, 41552, 46255, 51300, 56699, 62464, 68607 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Ivan Panchenko, Table of n, a(n) for n = 0..1000

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

FORMULA

G.f.: x*(-1 + 8*x + 5*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 + 3*x^2 + 2*x^3)*exp(x). (End)

MATHEMATICA

Table[(2 n^3 - 3 n^2), {n, 0, 40}] (* Vincenzo Librandi, Aug 03 2014 *)

PROG

(MAGMA) [2*n^3-3*n^2: n in [0..40]]; // Vincenzo Librandi, Aug 03 2014

(PARI) a(n)=(2*n-3)*n^2 \\ Charles R Greathouse IV, Jul 30 2016

CROSSREFS

Sequence in context: A276372 A071837 A266011 * A298987 A070600 A100488

Adjacent sequences:  A015235 A015236 A015237 * A015239 A015240 A015241

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 15 20:11 EDT 2019. Contains 327086 sequences. (Running on oeis4.)