rayman123
- 138
- 0
Homework Statement
Solve 57x+4y=2
Homework Equations
I use the equation 57x+4y=1 find
gcd(57,4) as follows
57=14\cdot 4+1 then gcd(57,4)=1 and
1=57-4\cdot 14 so the particular solution to my first equation is
x_{0}=2*and y_{0}=-28
Wolfram says it is correct but I am not sure if the Euclidean algorithm is computed correctly
If for example I have now
37x+32y=3
is the computation of gcd(37,32) correct?
37=32\cdot 1+5
32=5\cdot 6+2
5=2\cdot 2+1
but now I don't know how to find the linear combination of these...to obtain the particular solution. Please help