Suppose , $n$ is an integer greater than $1$.
Let $x$ be the fractional part of $\ln(n)$.
Set $f(n)=s$, if we need $s$ digits (leading zeros are counted as well!) until all digits have occured.
For example, the first digits of $\ln(3)-1$ are
$$0986122886681096913952452369225257\cdots $$
If we count the zero at the beginning, we have $34$ digits, so we have $f(3)=34$
If in the decimal expansion of $\ln(n)$ , at least one digit will never occur, $f$ is not defined for this value. But probably , such a number $n$ does not exist.
How can I find the smallest number $k$ with $f(k)=200$ or $f(k)=250$ or , in genral $f(k)=l$ for a given $l\ge 10$ efficiently (brute force will take ages) ?
The existence of such a number $k$ is clear because we can produce arbitary many zeros at the beginning by simply choosing a large number $m$ and take $n:=\lceil{exp(m)}\rceil$ , for which $\ln(n)$ will get closer and closer to an integer.
But those numbers (as well as similar variants) will be far from optimal. Who has an idea ?