login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A238716 Run lengths of decadal prime triples. 1
5, 2, 1, 2, 2, 3, 3, 1, 3, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Length of runs of "consecutive" (step = 3) values in A008470, which lists "prime triple decades", i.e., numbers m>1 such that the interval (10m,10m+10) contains at least 3 primes. The decades must be of the form m=3k+1, since for m=3k, 10m+3 and 10m+9 cannot be prime and for m=3k+2, 10k+1 and 10k+7 cannot be prime. Thus, "consecutive" prime triples are meant here in the sense of consecutive k-values.

LINKS

Table of n, a(n) for n=1..71.

EXAMPLE

The first occurrence of 5 consecutive triples is: {11, 13, 17 (or 19)} ; {41, 43, 47} ; {71, 73, 79} ; {101, 103, 107 (or 109)} ; {131, 137, 139}. This corresponds to decades 1,4,7,10,13; i.e., the first 5 terms of sequence A008470. Therefore, a(1)=5.

The next "decadal prime triples" start at A238713(6)=191 and A238713(7)=223, they form the next run of length a(2)=2, since the decades A008470(6)=19 and A008470(7)=21 differ by the minimum which is 3, but the next one is further away.

The next term A238713(8)=311 starts an "isolated" decadal prime triple, i.e., the next "run" of length a(3)=1.

The next run of length 4 starts with decade m=541, and the next occurrence of 5 consecutive triples starts with decade m=910052463685 (found by J. K. Andersen).

PROG

(PARI) {d=10; p=primepi(d); i=0; while( po=p, p=primepi( d+=10 ); p>2+po && i++ && (p=primepi(d+=20)) && next; i || next; print1(i", "); i>=3 && print1("/*", [nextprime(d-10-30*i), precprime(d-30)]"*/ "); i=0; )}

CROSSREFS

Cf. A008470, A008471, A238713, A238715.

Sequence in context: A136301 A132690 A089086 * A280695 A243258 A275704

Adjacent sequences:  A238713 A238714 A238715 * A238717 A238718 A238719

KEYWORD

nonn,more

AUTHOR

M. F. Hasler, Mar 03 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 22 01:06 EDT 2019. Contains 321406 sequences. (Running on oeis4.)