The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A082884 a(n) = smallest prime p for which (r-p)/log(p) < 1/n, where r is the next prime after p. 8
11, 59, 419, 2999, 22037, 162821, 1202627, 8886329, 65660051, 485165279, 3584913989, 26489122349, 195729610331, 1446257064389, 10686474581831, 78962960185097, 583461742527491, 4311231547116551, 31855931757115889 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Remark: the quotient can be larger than 1/n at much larger primes, many times. So p does not set record in "standard" sense, only sinks first below 1/n, i.e. smaller than any previous values, but not necessarily smaller than the following ones. See also illustration.
LINKS
FORMULA
a(n)=min{prime(j): A001223(j)/log(prime(j)) < 1/n}, where prime(j)=A000040(j) is the j-th prime.
EXAMPLE
a(1)=p(5)=11 and (13-11)/log(11) = 0.8340... < 1/1.
MATHEMATICA
{eq=1, k=1}; Do[s=(Prime[n+1]-Prime[n])/Log[Prime[n]]//N; If[s<1/k, k=k+1; Print[{k, n, Prime[n], s}]; eq=s], {n, 1, 100000000}]
CROSSREFS
Sequence in context: A164299 A253207 A241860 * A193230 A349120 A077036
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 17 2003
EXTENSIONS
a(11)-a(19) from Donovan Johnson, Sep 09 2008
STATUS
approved

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 June 5 01:34 EDT 2024. Contains 373102 sequences. (Running on oeis4.)