OFFSET
1,2
FORMULA
Values of s(n) = A046992(n) such that s(n)/n is integer.
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. To continue, see A073224.
MATHEMATICA
s = 0; Do[s = s + PrimePi[n]; If[ IntegerQ[s/n], Print[{n, s, s/n}]], {n, 1, 10^8}]
CROSSREFS
KEYWORD
nonn
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