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
 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 (list; graph; refs; listen; history; text; internal format)
 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 Cf. A004234. Sequence in context: A160095 A135319 A329193 * A077542 A325611 A263842 Adjacent sequences: A004216 A004217 A004218 * A004220 A004221 A004222 KEYWORD nonn AUTHOR N. J. A. Sloane EXTENSIONS More terms from Alonso del Arte, Dec 24 2013 STATUS approved

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 July 23 04:43 EDT 2024. Contains 374544 sequences. (Running on oeis4.)