login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A278514
Partial sums of A278513.
2
0, -1, 0, 0, -1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 2, 2, 1, 1, 1, 2, 1, 1, 0, 0, 0, -1, -2, -2, -2, -3, -3, -4, -3, -3, -3, -2, -2, -2, -3, -4, -4, -4, -3, -3, -3, -2, -2, -2, -3, -2, -2, -3, -2, -2, -2, -3, -3, -2, -1, -1, -1, -2, -2, -2, -3, -3, -4, -3, -4, -4, -4, -5, -5, -5, -4, -4, -3, -2, -2, -1, 0, 0, -1, -2, -3, -3, -3, -3, -3, -3, -4, -5, -5, -4, -4, -4, -3
OFFSET
0,15
LINKS
FORMULA
a(0) = 0; for n > 0, a(n) = A278513(n) + a(n-1).
PROG
(Scheme) (definec (A278514 n) (if (zero? n) n (+ (A278513 n) (A278514 (- n 1)))))
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Nov 28 2016
STATUS
approved