Quandaries
and Queries |
|||
Hi. I have a question: how do you calculate the "positive difference between the GCF and LCM of two numbers"? Thank you. |
|||
Hi Catalina, You need to find the LCM and GCD of the numbers and then find the difference. I don't see any simpler way to do it. For example suppose the numbers are 210 and 300. First factor the numbers into their prime factors.
The GCD is 2 3 5 = 30 and the LCM is 22 3 52 7 = 2100 so the positive difference is
Penny |
|||
|