A377389 Partial sums of A377388.
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
Keywords
Examples
a(3) = A377388(1) + A377388(2) + A377388(3) = 0 + 1 - 2 = -1.
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..10000
- Rémy Sigrist, Scatterplot of the first 10000 terms
- Rémy Sigrist, C++ program
Crossrefs
Cf. A377388.
Programs
-
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
Formula
a(n) = Sum_{k = 1..n} A377388(n).