Today I asked a question about a particular sequence of numbers on code-golf.se. This $n$th term of the sequence is defined as
... the length of the longest rep-digit representation of $n$ in any base
A rep-digit, is any number where all the digits are the same, for example $22$ or $9999$. For example if $n$ is $7$, $7$ can be represented as $111_2$ or as $11_6$, the longer one has three digits so the result is $3$.
It seems that for the vast majority of values the $n$th term is $2$. This makes sense because $2$ is the minimum value for any $n > 2$. Although I have not proven this, I am pretty confident this is the case simply from a heuristic stand point. Another less apparent fact is that it seems as the numbers grow larger the length runs of consecutive values of $2$ increase in size.
I have tried to prove that there exists runs of $2$ that are arbitrarily large, but became a little bit stuck in doing so. So that's my question: can runs of $2$s become arbitrarily large?
Here is a program that can generate the sequence pretty quickly. The first $10,000$ terms are already cached.