Given that $7xy7xy...7xy$ is a multiple of $143$ where there are $2008$ occurrences of $7xy$. Find the values of $x$ and $y$.
I know that $143$ is a semiprime with factors $1, 11, 13, 143$. How should I proceed to break down the large exponent in order to check if the modulo would be zero?
Hint: $1001= 7 \times 143$.
Your number is $(700+10a+b)\times 1001 \times (\sum_{i=0}^{1003} 10^{6i})$.