THE EXTENDED EUCLIDEAN ALGORITHM PROVIDES OPTIMAL BÉšOUT NUMBERS
In this note we show that the Extended Euclidean Algorithm provides B麯ut numbers with minimal absolute values, and we obtain, via simple continued fractions, explicit formulas for those optimal B麯ut numbers. As a corollary, we derive an explicit formula for the inverse of a number modulo n. Furthermore, we also show how to obtain the optimal B麯ut numbers geometrically.
Extended Euclidean Algorithm, continued fractions, inverse of a number modulo n.