3 results for “gcd”
Recursively finds the greatest common divisor.
Holds when p is prime and gcd(a,p)=1.
Least common multiple via the greatest common divisor.