Modular arithmetic is a type of arithmetic that deals with integers and remains within a fixed range
of values. It involves performing arithmetic operations such as addition, subtraction, multiplication,
and division, but with the added concept of a “modulus” or a “mod” value.
This article covers the definition of a congruence relation, and some of its properties like
addition, multiplication, exponentiation, and inverse.
Next, I show how we can use the Extended Euclidean Algorithm to find the modular multiplicative inverse
in a general case and in the case of coprime numbers.
Published on Thu, Jun 4, 2015 • 5 min read
#math
#number theory
#divisibility
#modulo