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

 


A217185
a(n) is the number of digits in the decimal representation of the smallest power of 2 that contains n consecutive identical digits.
0
1, 5, 8, 13, 67, 293, 293, 2576, 12790, 12790, 81874, 312865, 520061, 2063822
OFFSET
1,2
COMMENTS
Number of digits in 2^k is equal to floor(1 + k*log_10(2)).
MATHEMATICA
k = 0; Join[{1}, Table[While[d = IntegerDigits[2^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 *)
CROSSREFS
Sequence in context: A306943 A020736 A314469 * A160421 A249719 A314470
KEYWORD
nonn,base
AUTHOR
V. Raman, Sep 27 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 23 00:23 EDT 2024. Contains 376140 sequences. (Running on oeis4.)