I have read about Linear Diophantine equations such as ax+by=c are called diophantine equations and give an integer solution only if gcd(a,b) divides c
ax+by=c
gcd(a,b) divides c
ax + by = c and gcd(a, b) divides c.
ax + by = c
gcd(a, b)
c
x = U*c
y = V * c