I have this homework question.
"For any integer $a$ and $b$, prove that $\gcd(a,b) = \gcd(3a+5b,11a+18b)$."
I know that if $ g = \gcd(a,b)$
and
$h = \gcd(3a+5b,11a+18b)$
then
$g = h$
iff $g \leq h $ and $h \leq g$.
I successfully proved that $g \leq h$.
Now, to prove that $h \leq g$, I need to prove that $h\mid (a,b)$, but I can't seem to find how I should prove this.
$\because h = gcd(3a+5b,11a+18b) \Rightarrow h \mid (3a+5b)$
From here I'm stuck on how to get $a$ and $b$ seperate.
Any hint would be very helpful.
Edit: Since this question was marked duplicate and I was given these 1,2,3 links to check, I did check them and didn't find my answer because all of these questions have given that $gcd = 1$, whereas my question doesn't tell if $gcd = 1$ and furthermore these questions are a bit complex for me to understand since I'm a new learner of number theory.