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!)
A255332 Partial sums of A255331. 6
-1, -1, -1, -5, -4, -4, -11, -11, -14, -13, -13, -10, -10, -16, -16, -22, -22, -25, -24, -24, -21, -21, -33, -33, -33, -38, -38, -34, -34, -40, -40, -46, -46, -49, -48, -48, -45, -45, -57, -57, -57, -50, -49, -61, -59, -59, -59, -64, -64, -60, -60, -72, -72, -72, -77, -77, -73, -73, -79, -79, -85, -85, -88, -87, -87, -84 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
a(805) = 54 is the first positive term.
Is a(836) = -32 the last negative term?
The conspicuous "noncontinuity" which occurs in the scatter plot for the first time at n=5790 is caused by a sudden negative record at A255331(5790) = -708. Note that A255328(5790) = 708.
LINKS
A. Karttunen, Scatter plot of sequence plotted up to n=8590 (Drawn with the help of OEIS server's graph-utility).
FORMULA
a(0) = -1; for n >= 1: a(n) = a(n-1) + A255331(n).
PROG
(Scheme, with memoization-macro definec)
(definec (A255332 n) (if (zero? n) -1 (+ (A255332 (- n 1)) (A255331 n))))
CROSSREFS
Analogous sequences: A218789, A230409.
Sequence in context: A303270 A340918 A244046 * A071419 A291069 A019117
KEYWORD
sign,look
AUTHOR
Antti Karttunen, Feb 21 2015
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 July 20 07:22 EDT 2024. Contains 374442 sequences. (Running on oeis4.)