Define $f(k)$ to be the maximal natural number $n$ such that there exist $n$ strings $s_1,\dots,s_n$ from the alphabet $\{1,2\}$ such that no letter is repeated more than $3$ times in a row, for all $1\leq i \leq n$, the string $s_i$ has length $i+k$, and each string $s_i$ does not contain any $s_j$ for $j<i$ as a (contiguous) substring.
Examples:
$f(0)=2$, witnessed by $[1,22]$
$f(1)\ge5$, witnessed by $[11,222,1212,12212,221221]$
What are the values of $f(2)$, $f(3)$, $f(4)$ if they are not infinite?
I don't know how people approximate huge numbers, and I'm guessing $f(2)$ is really big