OFFSET
1,1
EXAMPLE
a(85) = 927685 because 927686 is the smallest m such that Sum_{k=1..m} 1/PrimePi(k) >= 85.
MATHEMATICA
{s=0, s1=0}; Do[s=s+(1/PrimePi[n]); If[Greater[Floor[s], s1], s1=Floor[s]; Print[{n, Floor[s]}]], {n, 2, 1000000}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Aug 28 2002
EXTENSIONS
Edited by Jon E. Schoenfield, Apr 04 2023
STATUS
approved