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!)
A124588 Primes p such that q - p <= 2, where q is the next prime after p. 7

%I #35 May 13 2022 09:52:33

%S 2,3,5,11,17,29,41,59,71,101,107,137,149,179,191,197,227,239,269,281,

%T 311,347,419,431,461,521,569,599,617,641,659,809,821,827,857,881,1019,

%U 1031,1049,1061,1091,1151,1229,1277,1289,1301,1319,1427,1451,1481,1487,1607

%N Primes p such that q - p <= 2, where q is the next prime after p.

%C Consists of 2 together with the lower members of twin primes, A001359. See the latter entry for references.

%C "Assuming certain (admittedly difficult) conjectures on the distribution of primes in arithmetic progressions, [Goldston-Pintz-Yildirim] prove the existence of infinitely many prime pairs that differ at most by 16." - Soundararajan

%C Lesser of twin primes together with 2; union with A029710 gives A124589. - _Reinhard Zumkeller_, Dec 23 2006

%C Primes p such that either p + 3/2 +- 1/2 is prime. - _Juri-Stepan Gerasimov_, Jan 29 2010

%C The prime differences of 2 primes (without repetition). - _Juri-Stepan Gerasimov_, Jun 01 2010, Jun 08 2010

%C Numbers k such that sigma(k*(k+2)) = (k+1)*(k+3). - _Wesley Ivan Hurt_, May 08 2022

%H K. Soundararajan, <a href="https://doi.org/10.1090/S0273-0979-06-01142-6">Small gaps between prime numbers: the work of Goldston-Pintz-Yildirim</a>, Bull. Amer. Math. Soc., 44 (2007), 1-18.

%H <a href="/index/Pri#gaps">Index entries for primes, gaps between</a>

%t Transpose[Select[Partition[Prime[Range[300]],2,1],#[[2]]-#[[1]]<3&]] [[1]] (* _Harvey P. Dale_, Feb 11 2015 *)

%o (PARI) twinl(n) = { c=0; x=1; while(c<n, if(isprime(prime(x)+2), c++); x++; ); return(prime(x-1)) }

%o print1(2", "); (for(x=1, 200, print1(twinl(x)", "))) \\ _Cino Hilliard_, Mar 29 2008

%Y Cf. A001359.

%K nonn

%O 1,1

%A _N. J. A. Sloane_, Dec 19 2006; edited May 15 2008 at the suggestion of _R. J. Mathar_

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 April 24 07:54 EDT 2024. Contains 371922 sequences. (Running on oeis4.)