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

 

Logo

Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A058372 a(n) = -(n + 1)*(2*n^2 + n - 12)/6. 1
2, 3, 1, -6, -20, -43, -77, -124, -186, -265, -363, -482, -624, -791, -985, -1208, -1462, -1749, -2071, -2430, -2828, -3267, -3749, -4276, -4850, -5473, -6147, -6874, -7656, -8495, -9393, -10352, -11374, -12461, -13615, -14838, -16132, -17499, -18941, -20460, -22058, -23737 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Table of n, a(n) for n=0..41.

FORMULA

G.f.: (2 - 5*x + x^2)/(1-x)^4.

MAPLE

seq(-sum(k^2-2, k=0..n), n=0..41); # Zerinvary Lajos, Jan 28 2008

MATHEMATICA

s=0; lst={}; Do[s+=n^2-2; AppendTo[lst, s*-1], {n, 0, 6!, 1}]; lst (* Vladimir Joseph Stephan Orlovsky, Nov 07 2008 *)

CROSSREFS

Sequence in context: A075263 A130850 A130405 * A128264 A232435 A114858

Adjacent sequences:  A058369 A058370 A058371 * A058373 A058374 A058375

KEYWORD

sign,easy

AUTHOR

N. J. A. Sloane, Dec 18 2000

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

License Agreements, Terms of Use, Privacy Policy .

Last modified November 18 12:21 EST 2017. Contains 294891 sequences.