The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A217187 a(n) is the number of digits in the decimal representation of the smallest power of 5 that contains n consecutive identical digits. 0
1, 8, 35, 67, 88, 760, 1948, 1951, 1955, 1956, 1959, 1960 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Number of digits in 5^k is equal to floor(1 + k*log_10(5)).
LINKS
MATHEMATICA
k = 0; Join[{1}, Table[While[d = IntegerDigits[5^k]; prt = Partition[Differences[d], n - 1, 1]; ! MemberQ[prt, Table[0, {n - 1}]], k++]; Length[d], {n, 2, 8}]] (* T. D. Noe, Oct 03 2012 *)
Module[{nn=3000, p5}, p5=5^Range[nn]; Table[IntegerLength[SelectFirst[p5, SequenceCount[ IntegerDigits[ #], PadRight[{}, n, x_]]>0&]], {n, 12}]] (* Harvey P. Dale, Aug 27 2023 *)
CROSSREFS
Sequence in context: A317263 A275360 A281147 * A214725 A136016 A257454
KEYWORD
nonn,base
AUTHOR
V. Raman, Sep 27 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 5 17:32 EDT 2024. Contains 373107 sequences. (Running on oeis4.)