login
Values of pi(x) where x exceeds n * pi(x).
11

%I #25 Sep 04 2018 09:26:50

%S 1,1,12,31,69,181,443,1052,2701,6455,15928,40073,100362,251707,637235,

%T 1617175,4124437,10553415,27066974,69709680,179992909,465769803,

%U 1208198526,3140421716,8179002096,21338685407,55762149030,145935689361

%N Values of pi(x) where x exceeds n * pi(x).

%C "Exceeds" can be interpreted as ">" or ">=" since the corresponding primes are never multiples of their indices. - _R. J. Mathar_, Jun 08 2008

%C Equivalently, a(n) = minimal k such that prime(k)/k >= n. - _Enoch Haga_, Oct 19 2007

%C a(n) = A062742(n) = A038606(n) for n >= 3. - _Jaroslav Krizek_, Dec 13 2009

%H Giovanni Resta, <a href="/A038624/b038624.txt">Table of n, a(n) for n = 1..50</a>

%e x exceeds 3*pi(x) when pi(x)=12, so a(3)=12

%t Join[{k = 1}, Table[While[Prime[k]/k < n, k++]; k, {n, 2, 18}]] (* _Jayanta Basu_, Jul 10 2013 *)

%Y Cf. A038623-A038627.

%Y Essentially the same as A062742.

%Y Cf. A038606 (variant).

%K nonn

%O 1,3

%A _Jud McCranie_

%E a(24)-a(28) from _Robert G. Wilson v_, Sep 26 2005

%E Edited by _N. J. A. Sloane_, Jun 30 2008 at the suggestion of R. J. Mathar.

%E a(29)-a(50) obtained from the values of A038625 computed by _Jan Büthe_. - _Giovanni Resta_, Sep 01 2018