The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A004219 a(n) = floor(10*log_10(n)). 4

%I #13 Jan 03 2022 21:26:47

%S 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,

%T 14,14,14,14,14,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,

%U 16,17,17,17,17,17,17,17,17,17,17,17,17,17,18,18,18,18,18

%N a(n) = floor(10*log_10(n)).

%H Vincenzo Librandi, <a href="/A004219/b004219.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = floor(10*log_10(n)) = floor(10(log(n)/log(10))) =

%F floor(10(log(n)/(log(2) + log(5)))). - _Alonso del Arte_, Dec 24 2013

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

%e a(3) = 4 because 10(log(3)/log(10)) = 4.7712125471966...

%e a(4) = 6 because 10(log(4)/log(10)) = 6.0205999132796...

%t Table[Floor[10Log[10, n]], {n, 75}] (* _Alonso del Arte_, Dec 24 2013 *)

%Y Cf. A004234.

%K nonn

%O 1,2

%A _N. J. A. Sloane_

%E More terms from _Alonso del Arte_, Dec 24 2013

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 13 14:36 EDT 2024. Contains 375142 sequences. (Running on oeis4.)