I want proof that:
If $2x + 3y$ is multiple of $17$, then $9x + 5y$ is multiple of $17$.
My attempt:
By the Bezout's theorem, how $mdc(2, 3) = 1$, exists $r, s \in \mathbb{Z}$ such that $$2r + 3s = 1$$
Then, consider the set
$$\mathcal{A} = \lbrace (r,s) \in \mathbb{Z} : 2r + 3s = 1 \rbrace$$
By the hypothesis, $2x + 3y = 17k$, for some $k \in \mathbb{Z}$. Observe that for all $(r, s) \in \mathcal{A}$, $$(2r + 3s)17k = 2(17kr) + 3(17ks) = 17k$$ Thus, we can consider that for some $(r, s) \in \mathcal{A}$ $$17kr = x$$ and $$17ks = y$$
Hence, $17|9x + 5y = 17(9kr + 5ks)$.
I'd like to know if my attempt is correct. Someone can help me? Thank you in advance