The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A210435 Number of digits in 5^n. 4
 1, 1, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, 9, 10, 10, 11, 12, 12, 13, 14, 14, 15, 16, 17, 17, 18, 19, 19, 20, 21, 21, 22, 23, 24, 24, 25, 26, 26, 27, 28, 28, 29, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 37, 38, 38, 39, 40, 40, 41, 42, 42, 43, 44, 45, 45, 46, 47, 47 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS Ana Rechtman, Octobre 2015, 3e DÃ©fi, Images des MathÃ©matiques, CNRS, 2015 (in French). FORMULA a(n) = A055642(A000351(n)) = A055642(5^n) = floor(log_10(10*(5^n))). [Jonathan Vos Post, Mar 22 2012] a(n) + A034887(n) = n+1. - Michel Marcus, Oct 27 2015 EXAMPLE a(4) = 3 because 5^4 = 625, which has 3 digits. a(5) = 4 because 5^5 = 3125, which has 4 digits. MAPLE a:= n-> length(5^n): seq(a(n), n=0..100); # Alois P. Heinz, Mar 22 2012 MATHEMATICA Table[Length[IntegerDigits[5^n]], {n, 0, 67}] (* Bruno Berselli, Mar 22 2012 *) IntegerLength[5^Range[0, 70]] (* Harvey P. Dale, Mar 26 2013 *) PROG (MAGMA) [#Intseq(5^n): n in [0..67]]; // Bruno Berselli, Mar 22 2012 (PARI) a(n) = #Str(5^n); \\ Michel Marcus, Oct 27 2015 CROSSREFS Cf. A000351, A034887, A034888, A055642, A210062, A210434, A210436. Sequence in context: A248103 A121928 A175406 * A181534 A258703 A067022 Adjacent sequences:  A210432 A210433 A210434 * A210436 A210437 A210438 KEYWORD nonn,base,easy AUTHOR Luc Comeau-Montasse, Mar 21 2012 STATUS approved

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

Last modified January 27 04:57 EST 2020. Contains 331291 sequences. (Running on oeis4.)