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”).

A377389
Partial sums of A377388.
2
0, 1, -1, -4, -9, -17, -23, -34, -47, -68, -84, -75, -117, -141, -166, -193, -227, -262, -308, -298, -296, -206, -164, -133, -107, -96, -66, -48, 10, 51, 71, 157, 200, 260, 305, 408, 456, 510, 615, 698, 650, 499, 344, 285, 198, 119, -27, 79, -78, -187, -405
OFFSET
1,4
LINKS
FORMULA
a(n) = Sum_{k = 1..n} A377388(n).
EXAMPLE
a(3) = A377388(1) + A377388(2) + A377388(3) = 0 + 1 - 2 = -1.
PROG
(C++) // See Links section.
(Python) # uses A377388gen() in A377388
from itertools import accumulate, islice
def agen(): yield from accumulate(A377388gen())
print(list(islice(agen(), 60))) # Michael S. Branicky, Oct 27 2024
CROSSREFS
Cf. A377388.
Sequence in context: A295494 A378028 A092464 * A328271 A354414 A173562
KEYWORD
sign
AUTHOR
Rémy Sigrist, Oct 27 2024
STATUS
approved