login
A248962
a(n) = PrimePi(log(prime(n))*n).
1
0, 1, 2, 4, 5, 6, 8, 9, 9, 11, 12, 14, 15, 15, 16, 18, 19, 21, 22, 23, 24, 24, 26, 28, 30, 30, 30, 31, 32, 34, 35, 36, 37, 39, 40, 41, 42, 44, 46, 46, 47, 47, 48, 50, 51, 53, 54, 55, 56, 58, 59, 61, 61, 62, 62, 64, 66, 66, 67, 68, 68, 70, 72, 73, 74, 75, 76
OFFSET
1,3
LINKS
MAPLE
seq(numtheory:-pi(floor(log(ithprime(n))*n)), n=1..100); # Robert Israel, Oct 19 2014
MATHEMATICA
Table[PrimePi[Log[Prime[n]]*n], {n, 0, 40}]
PROG
(PARI) vector(100, n, primepi(log(prime(n))*n)) \\ Michel Marcus, Oct 19 2014
CROSSREFS
Cf. A000040 (primes), A000720 (pi(n)).
Sequence in context: A268448 A230581 A361825 * A323455 A133398 A138836
KEYWORD
nonn
AUTHOR
Oussama Moutaoikil, Oct 18 2014
EXTENSIONS
More terms from Michel Marcus, Oct 19 2014
STATUS
approved