I have come across this question, and need a bit of help understanding it.
For integers $a$ and $b$, with $a \geq 0$ and $0 \leq b \leq 99$, the numbers $M$ and $N$ are such that
$$M = 100a + b$$ $$N = a - 9b$$ (i) By considering the number $M+2N$, show that $17 | M$ if and only if $17 | N$.
(ii) Demonstrate step-by-step how an algorithm based on the result of part (i) can be used to show that $2 058 376 813 901$ is a multiple of 1 7.
For the first one, it's easy to see that $M+2N = 102a-17b =17(6a-b)$, though I'm not sure how to continue. I feel as if I am missing something completely.
For the second question, I was told to do as follows: $$2 058 3768139\underline{01} \rightarrow 20583768139 - (9\times 1) = 20583768130$$ $$205837681\underline{30} \rightarrow 205837681 - (9 \times 30) = 205837411$$ $$2058374\underline{11} \rightarrow 2058374 - (9 \times 11) = 2058275 $$ $$20582\underline{75} \rightarrow 20582 - (9 \times 75) = 19907$$ $$199\underline{07} \rightarrow 199 - (9 \times 7) = 136$$ $$136 = 17 \times 8$$
However, I do not understand this solution, most likely due to the fact I lack the understanding for part (i).