← BackMark CompleteNumber Theory BasicsDivisibility, primes, gcd, modular arithmetic fundamentals.mathnumber-theoryUpdated 2025-09-01gcdEuclid: gcd(a,b)=gcd(b,a%b)lcmlcm(a,b)=a/gcd(a,b)*b