1.1.10 · D5Arithmetic & Number Systems
Question bank — HCF (GCD) — prime factorization method, Euclidean algorithm
The picture below makes the (HCF) vs (LCM) split visual — refer back to it whenever a trap talks about "exponents."

True or false — justify
Every common divisor of and also divides .
True. The gcd is not just the biggest common divisor — it is a multiple of every common divisor. Formally, writing each number by its prime exponents, a common divisor's exponent on each prime is , which is exactly the gcd's exponent, so it divides the gcd.
The gcd of two numbers can be larger than the smaller of the two numbers.
False. The gcd divides the smaller number, and a positive divisor of is at most . So .
If , then and share no prime factors at all.
True. Coprime means no shared prime; each shared prime would contribute a factor to the gcd. This is exactly the definition of coprime (relatively prime).
means one of must be prime.
False. yet neither nor is prime. Coprimality is about shared primes, not about being prime.
For any , .
True. Every prime in appears at exactly the same exponent in both copies, so leaves them all — you keep whole.
Multiplying both numbers by 5 multiplies their gcd by 5.
True. Scaling both by adds the same exponents to every prime, so . Here .
If and , then and .
True. Write ; then , still a multiple of . This closure of divisibility under is the engine behind Euclid's algorithm (the repeated-remainder trick — not to be confused with Euclid's lemma about primes).
holds for three numbers too, i.e. .
False. The two-number proof works because per prime exactly. With three exponents, ignores the middle value, so it no longer sums to . Counterexample : , product .
Spot the error
": prime 2 gives , prime 3 gives , so gcd ."
Wrong tool — that's the LCM recipe. The HCF must divide both, so no exponent may exceed either number's; use , giving .
"Euclid on : , then , remainder is , so ."
The answer is the last non-zero remainder, not the zero itself. Here that is — the divisor in the step where remainder became .
" should include prime 5 (it's in 360) at exponent ."
Prime 5 is absent from 84, so its exponent there is and — it's dropped. A prime missing from either number cannot divide both.
"To run Euclid you must first prime-factorize both numbers."
The whole point of Euclid's algorithm is that it needs no factoring — just repeated division with remainder. That's why it's fast on huge numbers.
"Since HCF means Highest, we take the highest powers."
The word "Highest" describes the factor (the largest number dividing both), not the exponents. To divide both, each exponent must be the minimum. Mnemonic: HCF is Humble.
"Bézout says , so and are unique."
They're not unique. If works, so does for — infinitely many solutions (see Diophantine Equations).
Why questions
Why does replacing by the remainder never change the gcd?
Here is the integer quotient (how many times fits in ). Any dividing and also divides ; any dividing and divides . Same set of common divisors ⇒ same greatest one, so .
Why must the Euclidean algorithm always terminate?
Each step's remainder is strictly smaller and non-negative (). A decreasing sequence of non-negative integers cannot fall forever, so it must hit .
Why does the prime-factorization method rely on the Fundamental Theorem of Arithmetic?
The method compares exponents prime-by-prime, which only makes sense if each number has one factorization. Fundamental Theorem of Arithmetic guarantees that uniqueness.
Why does taking the minimum exponent per shared prime give the largest common divisor?
A common divisor's exponent on each prime is capped by both numbers, i.e. by their minimum . Choosing equality at that cap is the biggest allowed choice, so it's maximal.
Why is so central to reducing fractions?
Dividing numerator and denominator by their gcd removes every shared factor at once, landing in lowest terms in one step. See Reducing Fractions to Lowest Terms.
Why do coprime numbers matter for RSA?
Modular inverses exist exactly when the gcd is ; Modular Arithmetic & RSA chooses an exponent coprime to a total so it can be "undone."
Edge cases
What is and why?
It equals (the absolute value, since gcd is always positive). Every integer divides , so the divisors of impose no upper limit; the largest divisor of still wins — itself (or made positive).
What is and why is it defined by convention?
It is set to by convention. Every integer divides , so there is no largest common divisor to pick — the usual "greatest" definition breaks down. We patch this single degenerate case with , consistent with ; the algorithm does not crash.
What is for any ?
It's . The only positive divisor of is , so no common divisor can be bigger. Everything is coprime to .
What is for two distinct primes ?
It's . Distinct primes share no prime factor, so the only common divisor is — they are coprime.
What is where ?
It's . Since divides both, and no divisor of exceeds , the gcd is itself. (When one number divides the other, the gcd is the divisor.)
If both numbers are equal to a prime , what is their gcd and lcm?
and . Check the identity: . ✅ (See LCM — Least Common Multiple.)
How should you handle ?
Sign is irrelevant to divisibility, so use absolute values: . Gcd is defined as a positive integer.
Does ?
Yes. "Common divisor" is symmetric in and — the shared prime exponents don't care about order — so the operation is commutative.
Recall One-line self-test
Cover every answer above and re-derive the reason, not just the verdict. If you can say why for all edge cases and spot each error's root cause, you own the concept.
Connections
- HCF (GCD) — prime factorization method, Euclidean algorithm — parent topic
- Fundamental Theorem of Arithmetic — why prime-comparison is valid
- LCM — Least Common Multiple — the max-exponent mirror
- Prime Numbers & Factorization
- Diophantine Equations — Bézout's non-uniqueness
- Modular Arithmetic & RSA — coprimality → inverses
- Reducing Fractions to Lowest Terms