Groups
Category
Level
A modular inverse of a modulo m is a number a_inv such that a × a_inv ≡ 1 (mod m).
The Extended Euclidean Algorithm finds integers x and y such that ax + by = gcd(a, b) while also computing gcd(a, b).
The greatest common divisor (gcd) of two integers is the largest integer that divides both without a remainder.