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

A355726
a(n) = a(n-2) + prime(n-1) for a(0) = a(1) = 0.
1
0, 0, 2, 3, 7, 10, 18, 23, 35, 42, 58, 71, 89, 108, 130, 151, 177, 204, 236, 265, 303, 336, 376, 415, 459, 504, 556, 605, 659, 712, 768, 825, 895, 956, 1032, 1095, 1181, 1246, 1338, 1409, 1505, 1582, 1684, 1763, 1875, 1956, 2072, 2155, 2283, 2378, 2510
OFFSET
0,3
FORMULA
a(2*n) = A077131(n), for n>=1.
a(2*n+1) = A077126(n), for n>=1.
MATHEMATICA
Join[{0}, Accumulate[FoldList[#2-#1&, 0, Prime[Range[100]]]]] (* Paolo Xausa, Dec 04 2023 *)
CROSSREFS
Cf. A077131 (even bisection), A077126 (odd bisection).
Cf. A008347 (first differences), (-1)^n*A330547 (second differences).
Sequence in context: A213075 A100847 A271713 * A356364 A173132 A351704
KEYWORD
nonn
AUTHOR
Paul Curtz, Jul 15 2022
STATUS
approved