Interactive · 2 questions
GCD and LCM stand for greatest common divisor and least common multiple, respectively. The GCD for a set of numbers is largest number such that all the numbers in the set are divisible by it. The LCM is the lowest number such that it is divisible by all the numbers in the set, that are being compared.
For example, the GCD of and is , because is the largest number that both and are divisible by.
As for LCM, the LCM Of and is , because is the lowest number that is divisible by both and .
One way of computing GCD and LCM is through prime factorization. Calculating LCM through prime factorization was covered in a different explanation (which can be found here).
Example for explanation: Find the GCD of , , and . First, we need to factorize each number into its primes.
, , and
Now we have to check between the numbers and see which factors are common. The greatest power of that all numbers have is . As for , has a factor of , but and do not. Similarly, has a factor of , but and do not. Thus, the GCD of , , and is .
Try these problems:
Which is the GCD of , , and ?
Which is the GCD of and ?
Note that if the GCD between two numbers is , they are relatively prime (more on relatively prime here).