The positive divisors of a positive integer , ordered by divisibility, form a lattice. The greatest lower bound of is , their greatest common divisor; the least upper bound is , their least common multiple. Both are again divisors of .
For example, the positive divisors of are . The divisors and are incomparable under divisibility, but their greatest lower bound is and their least upper bound is . The bottom and top elements of the whole lattice are and , respectively. Under prime factorization, the two operations take the coordinatewise minimum and maximum of the prime exponents.
New to topics? Read the docs here!