I have read this nice post:
How to find solutions of linear Diophantine ax + by = c?
and it all makes sense, but was wondering if one can apply this only if $a > 0, b > 0, c > 0$?
Consider for example:
$ 13x - 23y = -4 $
$ Gcd(13,23) = 1 $ so I'm not sure there is straight applicability of the method derived in the post mentioned above. However, this equation has clearly solutions, i.e., (for $x=5,y=3$):
$ 13 * 5 - 23 * 3 = 65 - 69 = -4 $.
So how to tackle such equations if we have $gcd(a,b) = 1$ ?