Professional Documents
Culture Documents
1. Definition. The least common multiple of two positive integers a and b, de-
noted by [a, b] is the smallest possible integer that is divisible by a and b.
2. Let x, y are two numbers. We define the maximum, denoted by max, and the
minimum, denoted by min, as follows:
• max{x, y} = x if x ≥ y and max{x, y} = y if y ≥ x.
• min{x, y} = x if x ≤ y and min{x, y} = y if y ≤ x.
3. Exercise. What is max{x, y} + min{x, y}?
4. [Finding the GCD and LCM] Let a = pa11 pa22 · · · pann and b = pb11 pb22 · · · pbnn be
any two positive integers, and each pi is prime, and each exponent is positive
or zero.
(a) The greatest common divisor of a and b is
min{a1 ,b1 } min{a2 ,b2 } n ,bn }
p1 p2 · · · pmin{a
n .