Explained Euclid's algorithm for finding the greatest common divisor of two numbers, and used it to find the inverse of some number n modulo m. An application of modular arithmetic to IBAN bank numbers was explained.

Take a look at this clip for another example of using the Euclidean algorithm to find the inverse of a number in modular arithmetic.

For more background on modular arithmetic take a look at the wikipedia page here.

See Section 5.4 of Lawson's book (available via Blackboard) for a rigorous introduction to, and further examples of, Euclid's algorithm.