OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
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
EXAMPLE
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...
MATHEMATICA
Table[Floor[10Log[10, n]], {n, 75}] (* Alonso del Arte, Dec 24 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Alonso del Arte, Dec 24 2013
STATUS
approved