A084140 a(n) is the smallest number j such that if x >= j there are at least n primes between x and 2x exclusively.
2, 6, 9, 15, 21, 24, 30, 34, 36, 49, 51, 54, 64, 75, 76, 84, 90, 91, 114, 115, 117, 120, 121, 132, 135, 141, 154, 156, 174, 175, 184, 187, 201, 205, 210, 216, 217, 220, 231, 244, 246, 252, 285, 286, 294, 297, 300, 301, 304, 321, 322, 324, 327, 330, 339, 360, 364
Offset: 1
Keywords
Examples
a(11)=51 since there are at least 11 primes between m and 2m for all m >= 51 and this is not true for any m < 51. Although a(100)=720 is not listed, for all m >= 720, there are at least 100 primes between m and 2m.
References
- Paulo Ribenboim, The Little Book of Big Primes, Springer-Verlag, 1991, p. 140.
- Paulo Ribenboim, The Little Book of Bigger Primes, Springer-Verlag, 2004, p. 181.
Links
- Vladimir Shevelev, Charles R. Greathouse IV, Peter J. C. Moses, On intervals (kn, (k+1)n) containing a prime for all n>1, Journal of Integer Sequences, Vol. 16 (2013), Article 13.7.3. arXiv version, arXiv:1212.2785 [math.NT], 2012.
- Anitha Srinivasan, An upper bound for Ramanujan primes, Integers, 19 (2014), #A19.
- Eric Weisstein's World of Mathematics, Bertrand's Postulate.
Programs
-
Mathematica
nn = 60; R = Table[0, {nn}]; s = 0; Do[If[PrimeQ[k], s++]; If[PrimeQ[k/2], s--]; If[s < nn, R[[s + 1]] = k], {k, Prime[3 nn]}]; A104272 = R + 1; Ceiling[(A104272 + 1)/2] (* Jean-François Alcover, Nov 07 2018, after T. D. Noe in A104272 *)
Formula
a(n) = ceiling((A104272(n)+1)/2) for n >= 1. - John W. Nicholson, Dec 24 2012
Comments