login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A179298 a(n)=n^3-(n-1)^3-(n-2)^3-...-1. 1
1, 7, 18, 28, 25, -9, -98, -272, -567, -1025, -1694, -2628, -3887, -5537, -7650, -10304, -13583, -17577, -22382, -28100, -34839, -42713, -51842, -62352, -74375, -88049, -103518, -120932, -140447, -162225, -186434, -213248, -242847, -275417 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
1^3-0=1, 2^3-1=7, 3^3-2^3-1=18, 4^3-3^3-2^3-1=28, 5^3-4^3-3^3-2^3-1=25, 6^3-5^3-4^3-3^3-2^3-1=-9,..
LINKS
FORMULA
a(n) = -n^2*(1-6*n+n^2)/4. G.f.: (2*x-1)*(x^2+4*x+1)/(x-1)^5. [From R. J. Mathar, Jul 11 2010]
MATHEMATICA
f[n_]:=Module[{k=n-1, x=n^3}, While[k>0, x-=k^3; k--; ]; x]; lst={}; Do[AppendTo[lst, f[n]], {n, 5!}]; lst
CROSSREFS
Sequence in context: A101865 A138391 A242293 * A144175 A017473 A131191
KEYWORD
sign,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 04:58 EDT 2024. Contains 370952 sequences. (Running on oeis4.)