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.

A097944 Number of digits in n-th prime.

Original entry on oeis.org

1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
Offset: 1

Views

Author

Cino Hilliard, Sep 05 2004

Keywords

Comments

For primes p <= n sum(a(n)) -> n/2 and n-> inf.

Examples

			The first 4 primes are 2,3,5,7. These are 1-digit numbers so the first 4 entries in the table are 1's.
		

Crossrefs

Cf. A060417, A068670 (partial sums).

Programs

Formula

a(n) = (log n + log log n)/(log 10) + O(1).
a(n) = A055642(A000040(n)). - Reinhard Zumkeller, Apr 08 2012
a(n) = A068670(n) - A068670(n-1). - M. F. Hasler, Oct 24 2019