OFFSET
2,5
FORMULA
MAPLE
A087724 := proc(n)
floor( ithprime(n)/log(n))-numtheory[pi](n) -2 ;
end proc: # R. J. Mathar, May 15 2013
MATHEMATICA
Digits=200 a[n_]=-PrimePi[n]+Floor[Prime[n]/Log[n]]-2 b=Table[a[n], {n, 2, Digits}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Sep 29 2003
STATUS
approved