I was reading a Proof that stated
Since $\gcd(a, b) = 1$, it follows that $\gcd(ab, a^2 + b^2) = 1$.
I can't figure out why this statement is true. I tried to factor $ab$ and $a^2+b^2$, but I don't think that you can really reduce $a^2$ and $b^2$ because it's just addition. I'm not really sure how to go about this. Any help?
I always prefer Bézout's Identity proofs.
Lemma 1: If $\gcd(c,d)=1$ then $\gcd(c,ck+d)=1$ for any $k$.
Proof: If $cx+dy=1$, then $c(x-ky)+(ck+d)y=1$.
Lemma 2: If $\gcd(c_1,d)=1$ and $\gcd(c_2,d)=1$ then $\gcd(c_1c_2,d)=1$.
Proof: Solve $c_1x_1+dy_1=1$ and $c_2x_2+dy_2=1$. Multiplying, and you get:
$$c_1c_2(x_1y_1)+d(y_2c_1x_1+y_1c_2x_2+dy_1y_2)=1$$
Theorem: If $\gcd(a,b)=1$ then $\gcd(ab,a^2+b^2)=1$.
Proof: Lemma 2 implies that $\gcd(a,b^2)=1$. Lemma 1 implies that $\gcd(a,a^2+b^2)=1$.
Likewise, we get that $\gcd(b,a^2+b^2)=1$.
Then, by Lemma 2, we have that $\gcd(ab,a^2+b^2)=1$.