Mathematics I / GCD and the Euclidean Algorithm
Practice question · True or false

The Euclidean algorithm finds gcd(84, 30) by factorising both numbers and comparing their prime powers.

Hints
  1. What does each step of the algorithm actually compute?
  2. Remainders, not factors.
Show the answer

False

Why

False. It takes repeated remainders — 84=2(30)+2484 = 2(30) + 24, then 30=1(24)+630 = 1(24) + 6, then 24=4(6)24 = 4(6), giving 6 — and never factorises anything. That is exactly why it is preferred: remainders take logarithmically many steps, while factoring a large number has no known efficient method, an asymmetry RSA depends on.

Read the lesson: GCD and the Euclidean Algorithm →

Practise GCD and the Euclidean Algorithm

The app has 6 more questions on this lesson, and keeps your place in the course. Mathematics I is free to start.

More questions on GCD and the Euclidean Algorithm