OFFSET
2,1
FORMULA
a(n) = A097456(n) + 1. - Filip Zaludek, Dec 16 2016
EXAMPLE
a(28)=3 because there are 9 primes not exceeding 28 (namely, 2,3,5,7,11,13,17,19,23) and floor(28/9)=3.
MAPLE
with(numtheory): a:=n->floor(n/pi(n)): seq(a(n), n=2..140); # Emeric Deutsch, Apr 15 2007
MATHEMATICA
Table[Floor[n/PrimePi@ n], {n, 2, 120}] (* Michael De Vlieger, Dec 17 2016 *)
PROG
(PARI) a(n) = n\primepi(n); \\ Michel Marcus, Dec 16 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Mar 27 2007
EXTENSIONS
More terms from Emeric Deutsch, Apr 15 2007
STATUS
approved