Find all possible values of $(7a+12,3a+5)$.

gcd-and-lcmnumber theory

If $a$ is an integer.
Find all possible values of $(7a+12,3a+5)$.

I started with:

Let $d$=$gcd(7a+12, 3a+5)$.

Then $d|7a+12$ and $d|3a+5$.

I am not sure what to do after this.

I have seen online someone saying that

$(3)(7a+12)+(-7)(3a+5)=1$

and that $d=1$ but I don't understand how.

Best Answer

Note that $$(m,n)= (m,m-n)$$

Thus $$(7a+12,3a+5)=(7a+12 -(3a+5), 3a+5)$$

$$=(4a+7, 3a+5) = (a+2,3a+5 )$$

$$= (a+2,2a+3)= (a+2,a+1)=1$$

Related Question