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!)
A073861 Smaller of pair of successive n-digit primes with maximal difference. 4

%I #17 Oct 28 2021 12:37:08

%S 3,89,887,9551,31397,492113,4652353,47326693,436273009,4302407359,

%T 42652618343,738832927927,7177162611713,90874329411493,

%U 218209405436543,1693182318746371,80873624627234849,804212830686677669

%N Smaller of pair of successive n-digit primes with maximal difference.

%C A subsequence of A002386 (assuming that there is an n-digit term in A002386 for all values of n). - _M. F. Hasler_, Apr 28 2014

%H Thomas R. Nicely, <a href="https://faculty.lynchburg.edu/~nicely/gaps/gaplist.html">First occurrence prime gaps</a> [For local copy see A000101]

%F A073861 = A000040 o A241623. - _M. F. Hasler_, Apr 28 2014

%F a(n) = max { p in A002386 | nextprime(p) < 10^n } (under the assumption given in the comment). - _M. F. Hasler_, Apr 28 2014

%e a(3) = 887, the next prime is 907, 907-887=20 is the maximal possible difference of two 3-digit primes and no smaller pair exhibits this property.

%t Table[Last[Sort[{#[[2]]-#[[1]],#[[1]],#[[2]]}&/@Partition[Prime[Range[PrimePi[10^i]+1,PrimePi[10^(i+1)]]],2,1]]][[2]],{i,7}] (* _Harvey P. Dale_, Jan 23 2010 *)

%K base,nonn

%O 1,1

%A _Amarnath Murthy_, Aug 15 2002

%E Corrected error and added terms _Harvey P. Dale_, Jan 23 2010

%E a(9)-a(18) from _Donovan Johnson_, Nov 29 2010

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 July 9 17:23 EDT 2024. Contains 374187 sequences. (Running on oeis4.)