Question 22
$x$ is a real. The decimal representation of $x$ includes all the digits at least once. Let $f(n)$ be the number of distinct $n$-digit segments in the representation. Show that if for some $n$ we have $f(n) \leq n + 8$, then $x$ is rational.