I have the following equation
$756x+630y = 2394$
and i am trying to find the general solution to it. I have done these type of questions numerous times and had no difficulty but I cant seem to do this.
What I have so far is
$756x+630y=2394$
$756-1(630)=126$
$630-5(126)=0$
I tried using the technique roll back but it dosent work.
What your calculation shows is that $126$ is the greatest common divisor of $756$ and $630$ and that $756-630=126$ and $6\times630-5\times756=0$. Since $2394/126=19$ is not fractional, we can solve the equation. $19(756-630)+k(6\times630-5\times756)=2394$.
Note that $6\times630-5\times756=0$ comes from substituting $756-630=126$ into $630-5\times126=0$.