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.

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

Original entry on oeis.org

0, 3, 4, 6, 6, 7, 8, 9, 9, 10, 10, 10, 11, 11, 11, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18
Offset: 1

Views

Author

Keywords

Examples

			a(2) = 3 because 10(log(2)/log(10)) = 3.0102999566398...
a(3) = 4 because 10(log(3)/log(10)) = 4.7712125471966...
a(4) = 6 because 10(log(4)/log(10)) = 6.0205999132796...
		

Crossrefs

Cf. A004234.

Programs

  • Mathematica
    Table[Floor[10Log[10, n]], {n, 75}] (* Alonso del Arte, Dec 24 2013 *)

Formula

a(n) = floor(10*log_10(n)) = floor(10(log(n)/log(10))) =
floor(10(log(n)/(log(2) + log(5)))). - Alonso del Arte, Dec 24 2013

Extensions

More terms from Alonso del Arte, Dec 24 2013