Find a number in the form of 111...1 (e.g. 111111) that is divisible by 2019. What I thought so far...
I know of Fermat's little theorem, which states following: $a^{p-1}\equiv 1$ for $p \in \mathbb{P} \land a\in \mathbb{Z}$
111...1 (with n 1's) can be written as $\frac{10^n-1}{10-1}$. Unfortunately, 2019 is not a prime.
$\frac{10^n-1}{10-1} = 2019*k$ is also no solution to the problem since there are two variables.
Can anyone give me a hint how to find the solution or at least how to proof that the solution exists? Thanks.