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

A373406
Sum of the n-th maximal run of odd primes differing by two.
14
15, 24, 36, 23, 60, 37, 84, 47, 53, 120, 67, 144, 79, 83, 89, 97, 204, 216, 113, 127, 131, 276, 300, 157, 163, 167, 173, 360, 384, 396, 211, 223, 456, 233, 480, 251, 257, 263, 540, 277, 564, 293, 307, 624, 317, 331, 337, 696, 353, 359, 367, 373, 379, 383
OFFSET
1,1
COMMENTS
The length of this run is given by A251092.
For this sequence we define a run to be an interval of positions at which consecutive terms differ by two. Normally, a run has consecutive terms differing by one, but odd prime numbers already differ by at least two.
Contains A054735 (sums of twin prime pairs) without its first two terms and A007510 (non-twin primes) as subsequences. - R. J. Mathar, Jun 07 2024
EXAMPLE
Row-sums of:
3 5 7
11 13
17 19
23
29 31
37
41 43
47
53
59 61
67
71 73
79
83
89
97
MATHEMATICA
Total/@Split[Select[Range[3, 100], PrimeQ], #1+2==#2&]//Most
CROSSREFS
The partial sums are a subset of A071148 (partial sums of odd primes).
Functional neighbors: A025584, A054265, A067774, A251092 (or A175632), A373405, A373413, A373414.
A000040 lists the primes, differences A001223.
A046933 counts composite numbers between primes.
A065855 counts composite numbers up to n.
Sequence in context: A079721 A362812 A089952 * A295160 A240597 A162964
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 05 2024
STATUS
approved