Reasoning · Grade 5-1 Greatest Common Divisor and Least Common Multiple

Problem

The Euclidean algorithm for the GCD

The greatest common divisor of 30 and 24 is worked out twice. Method 1 factors both numbers and multiplies the shared primes. Method 2 peels common divisors off both at once. Use both methods on 72 and 34, then on 36 and 54.
Method 1 find it by prime factorization 30 = 2 × 3 × 5 24 = 2 × 2 × 2 × 3 2 × 3 Method 2 find it by common divisors 2 30 24 3 15 12 5 4 The greatest common divisor of 30 and 24 is 2 × 3 = 6.
Your answer
How to solve
Strategy Look for a Pattern — The 30-and-24 box is a fully worked easier version of both tasks, so I read each method off it as a repeated move plus a stopping condition, then run the loop on the new pairs. Method 1 becomes: list both prime factorizations and match factors off one at a time until nothing matches. Method 2 becomes: divide both numbers by a common divisor, replace the pair by the quotients, and repeat until the pair has no common divisor left but 1. Listing the primes systematically is what keeps the matching honest, and multiplying the divisors back up at the end is the work-backwards check that the loop really did account for everything.
1STEP 1

Read both methods off the worked example as loops

Both worked methods are loops.

(30, 24) → (15, 12) → (5, 4), gcd = 2 × 3 = 6
2STEP 2

Pair (1), Method 1: prime factorize 72 and 34 and match

72 and 34 share only one 2.

72 = 2 × 2 × 2 × 3 × 3, 34 = 2 × 17, common: 2
3STEP 3

Pair (1), Method 2: peel common divisors off 72 and 34

The ladder also gives 2.

2 ) 72 34 ⟶ 36 17, gcd(72, 34) = 2
4STEP 4

Pair (2), Method 1: prime factorize 36 and 54 and match

36 and 54 share a 2 and two 3s.

36 = 2 × 2 × 3 × 3, 54 = 2 × 3 × 3 × 3, 2 × 3 × 3 = 18
5STEP 5

Pair (2), Method 2: run the common-divisor ladder on 36 and 54

Multiplying gives 18.

(36, 54) → (18, 27) → (6, 9) → (2, 3), gcd = 2 × 3 × 3 = 18
6STEP 6

Why the loop has to stop, and why the answer is the product of the rungs

The ladder stops because the last quotients share nothing.

36 = 18 × 2, 54 = 18 × 3, 2 and 3 share nothing
7STEP 7

Cross-check with the division chain used later in the unit

The division chain also gives 2 and 18.

72 ÷ 34 = 2 … 4, 34 ÷ 4 = 8 … 2, 4 ÷ 2 = 2 … 0 → 2
Answer
2, 18
2 × 3 × 3 = 18
Both answers pass the two obvious tests. A greatest common divisor can never exceed the smaller number of the pair: 2 ≤ 34 and 18 ≤ 36, both fine. And it must divide both numbers exactly: 72 ÷ 2 = 36, 34 ÷ 2 = 17, 36 ÷ 18 = 2, 54 ÷ 18 = 3 — all exact. In each case the two quotients left over share no factor (36 and 17; 2 and 3), which is the signature of having taken out everything that could be taken. Pair (1) landing on 2 is believable because 34 is only 2 × 17 and 17 is a prime that has no business inside 72, so 2 was the most that could ever have been shared. Pair (2) landing on 18 is believable because 18 = 2 × 9 and both 36 and 54 are visibly multiples of 18 (18 × 2 and 18 × 3).
Takeaway

Keep peeling common factors off both numbers until nothing is shared any more — the stopping point is what makes your answer the GREATEST common divisor, not just a common one.

  • Read both methods off the worked example as loops
  • Pair (1), Method 1: prime factorize 72 and 34 and match
  • Pair (1), Method 2: peel common divisors off 72 and 34
  • Pair (2), Method 1: prime factorize 36 and 54 and match
  • Pair (2), Method 2: run the common-divisor ladder on 36 and 54
  • Why the loop has to stop, and why the answer is the product of the rungs
  • Cross-check with the division chain used later in the unit