The GCD, the greatest common divisor, is the greatest number that divides both numbers.
GCD
What the two numbers have in common. Keep the primes that appear on both sides, each with the smaller exponent.
LCM
What contains both. Keep every prime that appears, each with the greater exponent.
GCD and LCM of 24 and 60
24=23×360=22×3×5
| prime | GCD | LCM |
|---|---|---|
| 2 | · | |
| 3 | · | |
| 5 | · |
First the GCD: for each prime, the exponent that both contain.
GCD(a,b)×LCM(a,b)=a×b
שאלהThe GCD of two numbers is 6 and their LCM is 60. One of them is 12. What is the other?
30. 6×60=360, and 360÷12=30. Check: the GCD of 12 and 30 is indeed 6, and their LCM is 60.
With small numbers, don't factor: list. The GCD of 26 and 65? The divisors of 26 are 1,2,13,26, and 65=13×5. So it is 13, in three seconds.
השלב הושלם!
בשלב הזה אין תרגילים לפתור.
בשלב הבא The word that decides: “must”