OFFSET
1,3
FORMULA
Integer values of s(n)=A046992(n)/n.
EXAMPLE
Sum of first 17 values of Pi(n) equals: 0+1+2+2+3+3+4+4+4+4+5+5+6+6+6+6+7 = 68 = 4*17, Sum(17)/17 = 4 = a(3).
MATHEMATICA
s = 0; Do[s = s + PrimePi[n]; If[ IntegerQ[s/n], Print[{n, s, s/n}]], {n, 1, 10^8}]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Labos Elemer, Jul 18 2002
EXTENSIONS
Edited and extended by Robert G. Wilson v, Jul 20 2002
a(10) from Donovan Johnson, Dec 15 2009
STATUS
approved