So I had proved that given $\gcd(a, b) = g$, if $ap + bq = g$, then $\gcd(p, q) = 1$
meaning bezout's coefficients are coprime.
I was then asked to show that if you wrote $$a = a'g, \ \ \ \ \ \ b = b'g$$ then $\gcd(a',b') = 1$ I'm not really sure how to go about this.
I currently have written out that $a = a'(gcd(a,b))$ and $b = b'(gcd(a,b))$. This means that $a'$ is a different factor of $a$ and $b'$ is a different factor of $b$. Any idea where I could go from here?
substituting $a = a'g$, $b = b'g$ into $ap + bq = g$ you will get $a'p + b'q = 1$ which is necessary and sufficient condition for $\gcd(a',b')=1$.