This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A377389 #9 Oct 28 2024 16:24:21 %S A377389 0,1,-1,-4,-9,-17,-23,-34,-47,-68,-84,-75,-117,-141,-166,-193,-227, %T A377389 -262,-308,-298,-296,-206,-164,-133,-107,-96,-66,-48,10,51,71,157,200, %U A377389 260,305,408,456,510,615,698,650,499,344,285,198,119,-27,79,-78,-187,-405 %N A377389 Partial sums of A377388. %H A377389 Rémy Sigrist, <a href="/A377389/b377389.txt">Table of n, a(n) for n = 1..10000</a> %H A377389 Rémy Sigrist, <a href="/A377389/a377389.png">Scatterplot of the first 10000 terms</a> %H A377389 Rémy Sigrist, <a href="/A377389/a377389.txt">C++ program</a> %F A377389 a(n) = Sum_{k = 1..n} A377388(n). %e A377389 a(3) = A377388(1) + A377388(2) + A377388(3) = 0 + 1 - 2 = -1. %o A377389 (C++) // See Links section. %o A377389 (Python) # uses A377388gen() in A377388 %o A377389 from itertools import accumulate, islice %o A377389 def agen(): yield from accumulate(A377388gen()) %o A377389 print(list(islice(agen(), 60))) # _Michael S. Branicky_, Oct 27 2024 %Y A377389 Cf. A377388. %K A377389 sign %O A377389 1,4 %A A377389 _Rémy Sigrist_, Oct 27 2024