I know that when gcd(a,b) = 1, a and b are relatively prime. This allows you to write the linear combination aS + bT = 1, where S and T are Bezouts's coefficients. As I understand, one of these coefficients is the inverse. Beyond that I dont understand how to find inverses. For example, gcd(101, 4620)
4620 = 45 101 + 75
101 = 1 75 + 26
75 = 2 26 + 23
26 = 1 23 + 3
23 = 7 3 + 2
3 = 1 2 + 1
2 = 2 1
1
And then after applying Euclid's Algorithm, I get the following ?

Which coefficient is the inverse ? Or is this approach wrong ?
To find the inverse you need Extended Euclide algorithm.