|
| |
|
|
A073163
|
|
Partial sums of Pi(k) arising in A073162.
|
|
2
| | |
|
|
|
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 In order 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
| Cf. A046992, A000720, A073162, A073164 & A073224.
Sequence in context: A186208 A091872 A079320 * A124181 A046432 A166835
Adjacent sequences: A073160 A073161 A073162 * A073164 A073165 A073166
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Labos E. (labos(AT)ana.sote.hu), Jul 18 2002
|
|
|
EXTENSIONS
| Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 20 2002
a(10) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Dec 15 2009
|
| |
|
|