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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160378 n^3-n*(n+1)/2. 4
0, 0, 5, 21, 54, 110, 195, 315, 476, 684, 945, 1265, 1650, 2106, 2639, 3255, 3960, 4760, 5661, 6669, 7790, 9030, 10395, 11891, 13524, 15300, 17225, 19305, 21546, 23954, 26535, 29295, 32240, 35376, 38709, 42245, 45990, 49950, 54131, 58539 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

n-th cube (A000578(n)) minus n-th triangular number (A000217(n)).

Partial sums of A045944. [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Jun 25 2009]

a(n) = (2*n^3-n^2-n)/2. [From Vincenzo Librandi, Dec 12 2010; edited by Klaus Brockhaus, Dec 12 2010]

EXAMPLE

a(4) = 4^3-4*5/2 = 64-10 = 54.

MATHEMATICA

f[n_]:=6*n+5; s1=s2=0; lst={}; Do[a=f[n]; s1+=a; s2+=s1; AppendTo[lst, s2], {n, 0, 6!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Jun 25 2009]

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

PROG

(MAGMA) [ n^3-n*(n+1)/2: n in [0..50] ];

CROSSREFS

Cf. A000578, A000217, A045944.

Sequence in context: A039659 A147238 A147834 * A201440 A096942 A122244

Adjacent sequences:  A160375 A160376 A160377 * A160379 A160380 A160381

KEYWORD

nonn

AUTHOR

Gil Broussard (gilbroussard(AT)bellsouth.net), May 11 2009

EXTENSIONS

Definition clarified and offset changed from 1 to 0 by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Dec 12 2010

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 February 13 12:58 EST 2012. Contains 205482 sequences.