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

 

Logo

"Email this user" was broken Aug 14 to 9am Aug 16. If you sent someone a message in this period, please send it again.

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 August 17 21:22 EDT 2017. Contains 290656 sequences.