OFFSET
2,1
COMMENTS
This sequence grows very slowly. The first n for which a(n) = 5 is 190, then 556 for 6, 1821 for 7, etc. - Alonso del Arte, Feb 27 2012
LINKS
Zhuorui He, Table of n, a(n) for n = 2..10000
EXAMPLE
a(6) = 2 because pi(6) = 3 and 6/3 = 2.
a(7) = 2 because pi(7) = 4 and 7/4 = 1.75, which rounds up to 2.
MATHEMATICA
Table[ Round[ n / PrimePi[ n]], {n, 2, 106}]
PROG
(PARI) A107609(n)={my(x = n/primepi(n)); if(denominator((2*x-1)/4)==1, floor(x), round(x)) } \\ Zhuorui He, Sep 12 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Jonathan Vos Post and Robert G. Wilson v, May 17 2005
STATUS
approved
