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!)
A226657 Smallest of the first four consecutive primes that comprise two sets of primes with difference 2*n. 10
5, 7, 23, 389, 409, 1511, 5309, 3373, 7351, 37223, 19867, 18593, 142811, 14563, 13933, 763271, 276637, 174491, 363989, 383179, 180907, 687179, 8066923, 913589, 458069, 6358777, 2507093, 5650871, 9182389, 5256071, 10237391, 9955009, 4091393, 24374033 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
An equivalent definition of this sequence: smallest prime which gives a cluster of primes with the spacing pattern 2*n; x; 2*n, x > 0.
A229021 gives the record values. - Arkadiusz Wesolowski, Sep 11 2013
LINKS
EXAMPLE
Difference two - primes: 5, 7, 11, 13.
Difference four - primes: 7, 11, 13, 17.
Difference six - primes: 23, 29, 31, 37.
MATHEMATICA
lst = {}; Do[a = 3; While[True, b = NextPrime[a]; If[b - a == n && NextPrime[b, 2] - NextPrime[b] == n, AppendTo[lst, a]; Break[]]; a = b], {n, 2, 68, 2}]; lst
Table[SelectFirst[Partition[Prime[Range[16*10^5]], 4, 1], AllTrue[{#[[2]]-#[[1]], #[[4]]- #[[3]]}, EvenQ]&&#[[2]]-#[[1]]==#[[4]]-#[[3]]==2n&], {n, 35}][[All, 1]] (* Harvey P. Dale, Jun 07 2022 *)
CROSSREFS
Sequence in context: A293861 A321462 A121605 * A229021 A173996 A024864
KEYWORD
nonn
AUTHOR
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 May 17 19:53 EDT 2024. Contains 372607 sequences. (Running on oeis4.)