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”).
%I #9 Oct 28 2024 16:24:21
%S 0,1,-1,-4,-9,-17,-23,-34,-47,-68,-84,-75,-117,-141,-166,-193,-227,
%T -262,-308,-298,-296,-206,-164,-133,-107,-96,-66,-48,10,51,71,157,200,
%U 260,305,408,456,510,615,698,650,499,344,285,198,119,-27,79,-78,-187,-405
%N Partial sums of A377388.
%H Rémy Sigrist, <a href="/A377389/b377389.txt">Table of n, a(n) for n = 1..10000</a>
%H Rémy Sigrist, <a href="/A377389/a377389.png">Scatterplot of the first 10000 terms</a>
%H Rémy Sigrist, <a href="/A377389/a377389.txt">C++ program</a>
%F a(n) = Sum_{k = 1..n} A377388(n).
%e a(3) = A377388(1) + A377388(2) + A377388(3) = 0 + 1 - 2 = -1.
%o (C++) // See Links section.
%o (Python) # uses A377388gen() in A377388
%o from itertools import accumulate, islice
%o def agen(): yield from accumulate(A377388gen())
%o print(list(islice(agen(), 60))) # _Michael S. Branicky_, Oct 27 2024
%Y Cf. A377388.
%K sign
%O 1,4
%A _Rémy Sigrist_, Oct 27 2024