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!)
A204805 Primes followed by a gap of 170 = nextprime(p)-p. 1

%I #7 Nov 21 2013 12:50:22

%S 27915737,65069327,80935103,84549821,98253527,99099773,105886883,

%T 110597483,117317297,124956059,130389293,134944361,139040903,

%U 140217647,140566253,153207191,156479129,162973457,182754569,189599393,190864901

%N Primes followed by a gap of 170 = nextprime(p)-p.

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

%t Transpose[Select[Partition[Prime[Range[11000000]],2,1],#[[2]]-#[[1]] == 170&]][[1]] (* _Harvey P. Dale_, Apr 25 2012 *)

%o (PARI) list_gaps(g=170,f,N=100)={my(p=0); for(c=1, N, while(g+p!=p=nextprime(p+1), ); if(f,write(f".txt",c" ",p-g),print1(", "p-g)))}

%K nonn

%O 1,1

%A _M. F. Hasler_, Jan 19 2012

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 September 17 16:56 EDT 2024. Contains 375990 sequences. (Running on oeis4.)