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!)
A031936 Lower prime of a difference of 18 between consecutive primes. 12

%I #20 Sep 08 2022 08:44:50

%S 523,1069,1259,1381,1759,1913,2161,2503,2861,3803,3889,4159,4373,4423,

%T 4463,4603,4703,4733,5059,5209,5483,6011,6229,6451,6529,6581,6619,

%U 7159,7351,7393,7433,7459,7621,7883,8191,8761,9109,9293,9749

%N Lower prime of a difference of 18 between consecutive primes.

%C Subsequence of A153418: a(1)=523=A153418(46), a(2)=1069=A153418(80), etc. - _Zak Seidov_, Sep 13 2015

%C No terms are congruent to 7 mod 10. - _Michel Marcus_, Sep 14 2015

%H Charles R Greathouse IV, <a href="/A031936/b031936.txt">Table of n, a(n) for n = 1..10000</a>

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

%t Transpose[Select[Partition[Prime[Range[1300]], 2, 1], Last[#] - First[#] == 18 &]][[1]] (* _Bruno Berselli_, Apr 09 2013 *)

%o (Magma) [p: p in PrimesUpTo(10000) | NextPrime(p)-p eq 18]; // _Bruno Berselli_, Apr 09 2013

%o (PARI) isok(p) = isprime(p) && (nextprime(p+1) == p+18); \\ _Michel Marcus_, Sep 14 2015

%Y Cf. A153418.

%K nonn

%O 1,1

%A _Jeff Burch_

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 March 29 05:16 EDT 2024. Contains 371264 sequences. (Running on oeis4.)