Attempt:
The sequence $2^k$ $(k = 1, 2, . . .)$ is infinite, while the set of residual classes modulo $1000$ is finite, so there are two different integers $n < m$ such that $2^n ≡ 2^m \pmod {1000}$.
Attempt:
The sequence $2^k$ $(k = 1, 2, . . .)$ is infinite, while the set of residual classes modulo $1000$ is finite, so there are two different integers $n < m$ such that $2^n ≡ 2^m \pmod {1000}$.
This is certainly not the intended solution if this was originally a contest problem, but here's one argument. Let $\{x\}$ denote the fractional part of $x$. The leading $4$ digits of $2^n$ are $1987$ iff \begin{align*} \log_{10^4} 1987 \leq \{n \log_{10^4} 2\} < \log_{10^4} 1988. \end{align*} The map $x \to x + \log_{10^4} 2$ is uniquely ergodic on $\mathbb{R}/\mathbb{Z}$, so such an $n$ exists; in fact, the set of such $n$ has density $\log_{10^4}(1988/1987)$.