Prove that some member of the sequence $7, 77, 777, 7777, \dots$ is divisible by $2019$.
So far I have figured that as $2019$ is divisible by $3$, then if one of the terms of the sequence $$ a_{n} = 7\left(\frac{10^{n}-1}{9}\right) $$ is divisible by $2019$ it is also divisible by $3$. Hence the number of digits in the solution will be a multiple of $3$, i.e. $777, 777777, 777777777, \dots$
I'm not too sure where to go from here any help would be appreciated.
Consider $2020$ terms of the sequence $\{7, 77, 777, \ldots, \underbrace{777...777}_{2020} \}$. Due to pigeonhole principle, at least two of terms have same value by $\mod 2019$: $$ \underbrace{777...777}_a \equiv \underbrace{777...777}_b \equiv x (\bmod 2019). $$ Then (for $a<b$): $$ \underbrace{777...777}_b - \underbrace{777...777}_a = \underbrace{777...777}_{b-a}\underbrace{000...000}_a \equiv 0 (\bmod 2019), $$ hence $$ \underbrace{777...777}_{b-a} \equiv 0 (\bmod 2019), $$ since $GCD(10,2019)=1$.