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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157512 Partial sums of A157502 0
2, 8, 16, 26, 38, 52, 70, 90, 112 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

FORMULA

Set R=FLOOR(A(157502)/2), S=FLOOR(SQRT(A(157502))/2), then a(n)=R*(R+1)-(4*S^3+6*S^2+2*S)/3

EXAMPLE

a(4)=2+6+8+10=26

CROSSREFS

Sequence in context: A175819 A125259 A169925 * A137882 A194643 A136514

Adjacent sequences:  A157509 A157510 A157511 * A157513 A157514 A157515

KEYWORD

nonn

AUTHOR

Gerald Hillier (adr.rabbicat(AT)gmail.com), Mar 02 2009

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 14 18:09 EST 2012. Contains 205663 sequences.