Groups
Category
Level
A linear Diophantine equation ax + by = c has integer solutions if and only if gcd(a, b) divides c.
The Extended Euclidean Algorithm finds integers x and y such that ax + by = gcd(a, b) while also computing gcd(a, b).