OFFSET
1,1
COMMENTS
Halved run-sums of A001223.
EXAMPLE
The odd primes are:
3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, ...
with first differences:
2, 2, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 6, 6, 2, 6, 4, 2, 6, 4, 6, 8, ...
with runs:
(2,2), (4), (2), (4), (2), (4), (6), (2), (6), (4), (2), (4), (6,6), ...
with halved sums a(n).
MATHEMATICA
Total/@Split[Differences[Select[Range[3, 1000], PrimeQ]]]/2
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 22 2024
STATUS
approved