Suppose that $72x + 56y = 40$. Find all $x,y$ that satisfy this condition.
Here is what I did:
- I reduced the equation to give $9x + 7y = 5$
- But since 5 is relatively prime to 7 and 9, we know $x,y$ is divisible by 5. So we can reduce the equation to $9(5a) + 7(5b) = 5$.
- Simplifying, we get $9a + 7b= 1$. Would it be easier to continue along this direction, i.e. to find some $a,b$ such that their gcd is one? I cannot continue beyond this as I have no other insights left.
What kind of available theorems/techniques can I use to solve this?
write $$7y\equiv 5\mod 9$$ so $$y\equiv \frac{5}{7}\equiv \frac{14}{7}\equiv 2\mod 9$$ and we find $x$ as $$9x+7(2+9k)=0$$ so $$x=-1-7k$$