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.

A135319 a(n) is the first digit after the decimal point in the decimal expansion of log_10(n), i.e., of the Briggsian logarithm of n.

Original entry on oeis.org

0, 3, 4, 6, 6, 7, 8, 9, 9, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9
Offset: 1

Views

Author

Pahikkala Jussi, Dec 06 2007, Jan 13 2008

Keywords

Examples

			a(6) = 7, because log_10(6) = 0.77815...
		

References

  • Erwin Voellmy, Fünfstellige Logarithmen und Zahlentafeln, 15th edition, Orell Foessli Verlag, Zurich (1962).

Programs

Formula

a(n) = floor(10*(log_10(n) - floor(log_10(n)))).

Extensions

More terms from R. J. Mathar and N. J. A. Sloane, Jan 11 2008