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.