cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A073163 Partial sums of Pi(k) arising in A073162.

Original entry on oeis.org

0, 3, 68, 259, 5500628, 1180641920, 19503263760, 46464766631, 863653341852, 306757978180563
Offset: 1

Views

Author

Labos Elemer, Jul 18 2002

Keywords

Examples

			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.
		

Crossrefs

Programs

  • Mathematica
    s = 0; Do[s = s + PrimePi[n]; If[ IntegerQ[s/n], Print[{n, s, s/n}]], {n, 1, 10^8}]

Formula

Values of s(n) = A046992(n) such that s(n)/n is an integer.

Extensions

Edited and extended by Robert G. Wilson v, Jul 20 2002
a(10) from Donovan Johnson, Dec 15 2009