OFFSET
1,2
COMMENTS
Panaitopol (1999) proved that all the numbers >= 1429 are in this sequence. - Amiram Eldar, Apr 12 2022
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..2500
Laurenţiu Panaitopol, Several Approximations of pi(x), Math. Ineq. Appl., Vol. 2, No. 3 (1999), pp. 317-324.
Eric Weisstein's World of Mathematics, Harmonic Number.
Eric Weisstein's World of Mathematics, Prime Counting Function.
MATHEMATICA
ppQ[n_]:=PrimePi[n]-n/(HarmonicNumber[n]-3/2)>0; Select[Range[500], ppQ] (* Harvey P. Dale, Feb 16 2012 *)
PROG
(Haskell)
a051046 n = a051046_list !! (n-1)
a051046_list = filter
(\x -> fromIntegral (a000720 x) > hs !! (x - 1)) [1..]
where hs = zipWith (/)
[1..] $ map (subtract 1.5) $ scanl1 (+) $ map (1 /) [1..]
-- Reinhard Zumkeller, Mar 20 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved