I'm attempting to prove that there are infinitely many $n$ such that the first $7$ digits in the base $10$ expressions of $2^{n}$ are $7777777$. However, I don't even know where to start. Apparently I'm supposed to use the fact that the set $$\{x_{n} = n\alpha-\lfloor n\alpha \rfloor \mid n \in \mathbb{N}\}$$ is dense in $[0,1]$, for a fixed irrational $\alpha \in \mathbb{R}$ (I've already proven this). Any help would be appreciated! (I'm more looking for a hint not a solution)
2026-03-25 11:16:04.1774437364
On
Infinitely many $n$ such that $2^n$ in base $10$ starts with $7777777$
153 Views Asked by user427380 https://math.techqa.club/user/user427380/detail At
2
There are 2 best solutions below
0
On
The key fact is this (see here for a proof):
For every finite sequence of decimal digits, there is a power of $2$ whose decimal expansion begins with this sequence.
Now apply this to $7777777\cdots 7$, with an increasing number of $7$s.
As noted by @Winther, $2^n$ starts with $777777$ if and only if $777777\cdot 10^m \le 2^n < 777778\cdot 10^{m}$ for some $m \in \mathbb{N}$.
This can be rewritten as
$$m + \log_{10} 777777 \le n\log_{10}2 < m + \log_{10} 777778$$
Let $\alpha = \log_{10}2$ and conclude there are infinitely many $n \in \mathbb{N}$ such that $$n\log_{10}2- \left\lfloor n\log_{10}2\right\rfloor \in \big[\log_{10} 777777 - 5, \log_{10} 777778-5\big\rangle \subseteq [0,1]$$
For these $n$ we have
$$(\left\lfloor n\log_{10}2\right\rfloor - 5) + \lfloor n\log_{10}2\rfloor + \log_{10} 777777 \le n\log_{10}2 < (\left\lfloor n\log_{10}2\right\rfloor - 5) + \log_{10} 777778$$
so for them $2^n$ starts with $777777$.