login
A015246
a(n) = (2*n - 13)*n^2.
1
0, -11, -36, -63, -80, -75, -36, 49, 192, 405, 700, 1089, 1584, 2197, 2940, 3825, 4864, 6069, 7452, 9025, 10800, 12789, 15004, 17457, 20160, 23125, 26364, 29889, 33712, 37845, 42300, 47089, 52224, 57717
OFFSET
0,2
FORMULA
G.f. x*(-11 + 8*x + 15*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*(-11 - 7*x + 2*x^2)*exp(x). (End)
MATHEMATICA
Table[(2n-13)n^2, {n, 0, 40}] (* Harvey P. Dale, Mar 23 2011 *)
LinearRecurrence[{4, -6, 4, -1}, {0, -11, -36, -63}, 25] (* G. C. Greubel, Jul 30 2016 *)
PROG
(Magma) [(2*n-13)*n^2: n in [0..40]]; // Vincenzo Librandi, Apr 26 2011
(PARI) a(n)=(2*n-13)*n^2 \\ Charles R Greathouse IV, Jul 30 2016
CROSSREFS
Sequence in context: A107280 A044088 A044469 * A093500 A081438 A160483
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Dec 11 1999
STATUS
approved