Having the equation:
$$35x+91y = 21$$
I need to find its general solution.
I know gcf $(35,91) = 7$, so I can solve $35x+917 = 7$ to find $x = -5, y = 2$. Hence a solution to $35x+91y = 21$ is $x = -15, y = 2$.
From here, however, how do I move on to finding the set of general solutions? Any help would be very much appreciated!
Cheers
You really ought to have checked your particular solution, because it isn’t one:
$$35(-15)+92\cdot2=-343\;,$$
not $21$. Divide the original equation by $7$ to get $5x+13y=3$. By inspection $x=-2$, $y=1$ is a solution. Suppose that $x=-2+a$, $y=1+b$ is also a solution. Then
$$5(-2+a)+13(1+b)=3\;,$$
so
$$-10+5a+13+13b=3\;,$$
and therefore $5a+13b=0$. Thus, $b=-\frac5{13}a$. Since $a$ and $b$ must be integers, this says that $a$ must be a multiple of $13$. Say $a=13k$. What does that make $b$? Can you now write down the general solution in terms of $k$?