Good morning, I can't solve this diophantine equation through the Euclidean division: $45x - 8y = 231$
$45x'-8y' = 1$
Euclidean division
$45 = -5*(-8)+5$
$-8 = -2*5+2$
$5 = 2*2+1$
$2 = 2*1+0$
$1 = 5 -2*2$
$2 = -8+2*5$
$5 = 45-5*8$
$1 = 17*8-3*45$
However, at this point, the signs of the coefficients are "inverted", and so I cannot continue.
No matter. Just multiply both terms in a product by $-1$. $$-3\cdot45+(-8)(-17)=1$$ $$45(-693)-8(-3927)=231$$