login
A076882
pi(n) - ceiling(n / log(n)), where pi(n) = the number of primes <= n.
0
-2, -1, -1, -1, -1, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 1, 1, 2, 2, 3, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 3, 3, 3, 3, 4, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3, 3
OFFSET
2,1
MATHEMATICA
Table[PrimePi[i] - Ceiling[i/Log[i]], {i, 2, 100}]
CROSSREFS
Sequence in context: A096493 A269242 A321759 * A229745 A339366 A016397
KEYWORD
sign
AUTHOR
Joseph L. Pe, Nov 25 2002
STATUS
approved