|
|
A073861
|
|
Smaller of pair of successive n-digit primes with maximal difference.
|
|
4
|
|
|
3, 89, 887, 9551, 31397, 492113, 4652353, 47326693, 436273009, 4302407359, 42652618343, 738832927927, 7177162611713, 90874329411493, 218209405436543, 1693182318746371, 80873624627234849, 804212830686677669
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = max { p in A002386 | nextprime(p) < 10^n } (under the assumption given in the comment). - M. F. Hasler, Apr 28 2014
|
|
EXAMPLE
|
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.
|
|
MATHEMATICA
|
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 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|