1,2

Vincenzo Librandi, Table of n, a(n) for n = 1..10000

a(n) = floor(10log_10(n)) = floor(10(log(n)/log(10))) =

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

a(2) = 3 because 10(log(2)/log(10)) = 3.0102999566398...

a(3) = 4 because 10(log(3)/log(10)) = 4.77121254719662...

a(4) = 6 because 10(log(4)/log(10)) = 6.02059991327962...

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

Cf. A004234.

Sequence in context: A160095 A135319 A329193 * A077542 A325611 A263842

Adjacent sequences: A004216 A004217 A004218 * A004220 A004221 A004222

nonn

N. J. A. Sloane.

More terms Alonso del Arte, Dec 24 2013

approved