Try examples
Textbook pair: 803 and 154
Inverse of 3 modulo 11
Signed pair: -240 and 46
Find integer coefficients x and y that reproduce the GCD of two signed integers, with complete coefficient rows and a modular inverse when it exists.
Exact calculation and checks