Hello I have two questions 1) show that $5n+2$ and $12n+5$ are relatively prime. Can I do it this way?
From Euclids algortihm.
$12n+5=(5n+2) \cdot 2 +(2n+1)$
$5n+2=(2n+1) \cdot 2 +n$
$2n+1=(n) \cdot 2 +1$
$n=1 \cdot n + 0$
Hence gcd=1
My second question is let a,b,c $\in$ Z suppose $c|a+b$ and $(a,b)=1$ show that c is relatively prime to both a and b. Now sure how to start I know that I can write $au+bv=1$ and $a+b=ct$ but i dont know if that is useful