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

Sum of the n-th maximal run of odd primes differing by two.
14

%I #11 Jun 07 2024 09:21:54

%S 15,24,36,23,60,37,84,47,53,120,67,144,79,83,89,97,204,216,113,127,

%T 131,276,300,157,163,167,173,360,384,396,211,223,456,233,480,251,257,

%U 263,540,277,564,293,307,624,317,331,337,696,353,359,367,373,379,383

%N Sum of the n-th maximal run of odd primes differing by two.

%C The length of this run is given by A251092.

%C 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.

%C 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

%H Gus Wiseman, <a href="/A373403/a373403.txt">Four statistics for runs and antiruns of prime, nonprime, squarefree, and nonsquarefree numbers</a>

%e Row-sums of:

%e 3 5 7

%e 11 13

%e 17 19

%e 23

%e 29 31

%e 37

%e 41 43

%e 47

%e 53

%e 59 61

%e 67

%e 71 73

%e 79

%e 83

%e 89

%e 97

%t Total/@Split[Select[Range[3,100],PrimeQ],#1+2==#2&]//Most

%Y The partial sums are a subset of A071148 (partial sums of odd primes).

%Y Functional neighbors: A025584, A054265, A067774, A251092 (or A175632), A373405, A373413, A373414.

%Y A000040 lists the primes, differences A001223.

%Y A046933 counts composite numbers between primes.

%Y A065855 counts composite numbers up to n.

%Y Cf. A005117, A007053, A029707, A038664, A293697, A350842, A371201.

%K nonn

%O 1,1

%A _Gus Wiseman_, Jun 05 2024