Show that if $a$ and $b$ are relatively prime integers then $gcd(a+kb, b+ka)$ divides $k^2-1$
I am trying to two linear combination of $a+kb$ and $b+ka$
but can't write to as linear combination can you one help...
thank you....
Show that if $a$ and $b$ are relatively prime integers then $gcd(a+kb, b+ka)$ divides $k^2-1$
I am trying to two linear combination of $a+kb$ and $b+ka$
but can't write to as linear combination can you one help...
thank you....
If $d,$divides both $a+bk,ak+b$
$d$ must divide $k(a+bk)-(ak+b)=b(k^2-1)$
and $k(ak+b)-(a+bk)=a(k^2-1)$
The idea is to eliminate $a,b$ one by one.
So, $d$ must divide $(a(k^2-1),b(k^2-1))=(k^2-1)(a,b)$