How would I go about proving that: For any integers x,y there are integers a,b such that gcd(x,y) = ax + by?
One thing I noticed is that when x is a multiple of y or vice versa, the smaller number is automatically the gcd; thus, in those situations, the value multiplied by the smaller number would be 1 and the value multiplied by the larger number would be 0 and we would have an "a,b" which would be "1,0" or "0,1". However, in other cases it's a bit more complicated, and we also have negative integers, of course.
Any help would be greatly appreciated!