login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Smallest index at which A242018 contains a run of n consecutive 1s.
2

%I #12 Aug 14 2014 02:18:10

%S 2,4,7,26,27308

%N Smallest index at which A242018 contains a run of n consecutive 1s.

%C a(6) has 520 decimal digits.

%C It is unknown whether or not this sequence is finite.

%H Nathaniel Johnston, <a href="/A242020/b242020.txt">Table of n, a(n) for n = 1..6</a>

%H MathOverflow, <a href="http://mathoverflow.net/questions/177996/do-runs-of-every-length-occur-in-this-sequence">Do runs of every length occur in this sequence?</a>

%H Programming Puzzles and Code Golf, <a href="http://codegolf.stackexchange.com/questions/35209/where-are-the-runs-in-this-infinite-string-cccccc-found">Where are the runs in this infinite string?</a>

%e a(3) = 7 because A242018(7) = A242018(8) = A242018(9) = 1, and this is the first time that there are three consecutive 1s in A242018.

%Y Cf. A242018.

%K nonn,hard,more

%O 1,1

%A _Nathaniel Johnston_, Aug 11 2014