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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A058373 (1/6)*(2*n - 3)*(n + 2)*(n + 1). 4
0, 0, -1, -1, 2, 10, 25, 49, 84, 132, 195, 275, 374, 494, 637, 805, 1000, 1224, 1479, 1767, 2090, 2450, 2849, 3289, 3772, 4300, 4875, 5499, 6174, 6902, 7685, 8525, 9424, 10384, 11407, 12495, 13650, 14874, 16169, 17537, 18980, 20500, 22099 (list; graph; refs; listen; history; text; internal format)
OFFSET

-2,5

LINKS

Table of n, a(n) for n=-2..40.

FORMULA

a(n)=2*C(n,3)-C(n,2),n>=0 - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 25 2006

MAPLE

[seq(2*binomial(n, 3)-binomial(n, 2), n=0..42)]; - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 25 2006

a:=n->sum((j-2)*j, j=0..n): seq(a(n), n=-1..41); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Dec 02 2006

seq(add (k^2-n, k =0..n), n=-1..41 ); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Aug 26 2007

MATHEMATICA

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

Table[Sum[i^2 - 2*i, {i, 0, n}], {n, -1, 41}] [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jul 10 2009]

CROSSREFS

Sequence in context: A120550 A222848 A119062 * A167386 A027719 A069894

Adjacent sequences:  A058370 A058371 A058372 * A058374 A058375 A058376

KEYWORD

sign

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 | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 24 20:40 EDT 2013. Contains 225631 sequences.