The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A213903 Least number x such that there are n numbers of the form 6k-1 or 6k+1 between prime(x) and prime(x+1). 0
1, 9, 24, 46, 30, 99, 154, 263, 367, 590, 217, 1183, 2191, 1879, 1831, 3077, 2225, 3793, 4612, 4522, 3644, 14862, 12542, 3385, 19026, 17006, 23283, 38590, 14357, 34215, 73321, 30802, 33608, 110224, 85633, 165326, 31545, 40933, 103520, 141718, 224659, 126172 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
First occurrence of n in A213902.
LINKS
EXAMPLE
Smallest n such that A213902(n)=2 is n=24, so a(2)=24.
MATHEMATICA
nn = 10^6; t = Join[{3}, Union[6 Range[nn] - 1, 6 Range[nn] + 1]]; cnt = 0; t2 = Reap[Do[If[PrimeQ[t[[i]]], Sow[cnt]; cnt = 0, cnt++], {i, Length[t]}]][[2, 1]]; t3 = {}; n = 0; While[pos = Position[t2, n, 1, 1]; pos != {}, AppendTo[t3, pos[[1, 1]]]; n++]; t3 (* T. D. Noe, Jun 26 2012 *)
CROSSREFS
Cf. A213902.
Sequence in context: A362420 A097658 A067725 * A351043 A001106 A023551
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Jun 24 2012
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 8 22:55 EDT 2024. Contains 373227 sequences. (Running on oeis4.)