Computes m for n^{-1} = m (mod p), where n and p are coprime.

Displays the steps of the extended Euclidean algorithm.

Some examples:

Darren Sri-Jayantha