I'm having troubles to find the coefficients: 1357 + 49 = 1 = (1357,49). I started solving the equations by the Euclidean algorithm, but I can't replace them all. Can someone help me?
From then on I couldn't do it anymore.
I'm having troubles to find the coefficients: 1357 + 49 = 1 = (1357,49). I started solving the equations by the Euclidean algorithm, but I can't replace them all. Can someone help me?
From then on I couldn't do it anymore.
$$\begin{cases} 1357=49\cdot27+34\\{}\\ 49=34\cdot1+15\\{}\\ 34=15\cdot2+4\\{}\\ 15=4\cdot3+3\\{}\\ 4=3\cdot1+1\\{}\\ 3=1\cdot3+0\;\text{(check case)}\end{cases}$$
And now read from bottom to top:
$$1=4-3=4-(15-4\cdot3)=4\cdot4-15=4(34-15\cdot2)-15=4\cdot34-9\cdot15=$$
$$=4\cdot34-9(49-34)=13\cdot34-9\cdot49=13(1357-49\cdot27)-9\cdot49$$
$$=13\cdot1357-360\cdot49$$