

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Solutions to homework problems related to finding prime factorizations, greatest common divisors (gcd), least common multiples (lcm), and verifying the equation gcd(a, b) × lcm(a, b) = a × b for different pairs of numbers.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Many of you wrote something like “Because every time we try it, it works”; but this avoids the question. The thing we want to know is pre- cisely, why does it work every time? Others wrote that because
LCM(a, b) = a × b GCD(a, b)
the equation GCD(a, b)×LCM(a, b) = a×b follows. However, this is circular reasoning: if you look at your notes from class, you will see that we con- cluded LCM(a, b) = (^) GCD(a×ba,b) from the equation GCD(a, b) × LCM(a, b) = a × b in the first place. So the question still remains: why is the equation GCD(a, b) × LCM(a, b) = a × b true?
Let us look at a specific example first: GCD(28, 91) × LCM(28, 91) = 7 × (2^2 · 7 · 91), while 28 × 91 = (2^2 · 7) × (7 · 13). The same primes occur the same number of times each, in these products. For example, 2 occurs twice in the prime factorization of 28 and no times in 91; while 2 occurs no times in the GCD and twice in the LCM. The prime 7 occurs once each in 28 and 91, and it also occurs once each in the GCD and LCM. Let’s think about a slightly more abstract example. Suppose there’s a prime that occurs exactly five times in the prime factorization of a, and that this same prime occurs exactly three times in the prime factorization of b. (For example, a might be 96 = 2^5 · 3, and b might be 120 = 2^3 · 3 · 5. Then when a × b is written as a product of primes, the number of times that this prime occurs is 5 + 3 = 8. (For example, 96 · 120 = 2^8 · 32 · 5.) But when we calculate the GCD of a and b, we include this prime ex- actly three times (three being the smaller of three and five); for example, GCD(96, 120) = 2^3 · 3 = 24. Similarly, when we calculate the LCM, we in- clude this prime exactly five times; for example, LCM(96, 120) = 2^5 · 3 · 5 =