Let $a$,$b$ and $k$ be integers such that $$a=6k+4$$ $$b=11k+4$$ Find $k$ values that satisfy $\gcd(a,b)=5$
Note: $(a,b)$ are solutions to the equation : $11a-6b=20$
My try :
$\gcd(6k+4,11k+4)=\gcd(k-16;20)=5$
Possible values of $\gcd(a,b)$ are ${1,2,5,10,20}$ so we want $(k-16)$ to be divisible by $5$ but not by $10,20$
So we pose the following :
$k-16 ≡ 5 \pmod{20}$
$k ≡ 1 \pmod{20}$
This means that $k$'s ones number is $1$ so
$k≡ 1\pmod{20}$
$k=10p+1$ , $p$ is an integer.
As Anurag mentioned in the comments, $k \equiv 1 \pmod 5$. Nice work finding that $k \equiv 1 \pmod {10}$. I think that there should be infinite solutions to this. I'm a newbie but those two congruences do have infinitely many solutions, I know that.