Questions: Divisibility and Greatest Common Divisor
5 questions to test your understanding
Score: 0 / 5
Question 1 Multiple Choice
Two integers a and b satisfy gcd(a, b) = 6. According to Bézout's identity, which of the following is guaranteed to exist?
APositive integers x and y such that ax + by = 6
BIntegers x and y (which may be negative or zero) such that ax + by = 6
CA prime number p such that p divides both a and b
DIntegers x and y such that ax + by = 1
Bézout's identity guarantees integers x and y (not necessarily positive) such that ax + by = gcd(a, b). Since gcd(a, b) = 6, we get ax + by = 6 for some integers x, y that may be negative. Option A is wrong because Bézout coefficients can be negative — this is a common misconception. Option C is wrong because gcd(a, b) = 6 means the greatest common divisor is 6, which is not prime; the pair might not share any prime factor with multiplicity that makes a prime divide both. Option D would require gcd(a, b) = 1, but gcd = 6 here.
Question 2 Multiple Choice
What is the correct interpretation of 'a and b are coprime'?
ABoth a and b are prime numbers
BNeither a nor b has any prime factors
Cgcd(a, b) = 1 — the only positive integer dividing both is 1
Da divides b or b divides a
Coprime (also called relatively prime) means the two integers share no common factors other than 1, i.e., gcd(a, b) = 1. This does not require either number to be prime itself — for example, 8 and 9 are coprime (gcd = 1) even though neither is prime. Coprimality is crucial because Bézout's identity, applied when gcd = 1, guarantees an integer x such that ax ≡ 1 (mod b) — i.e., a has a multiplicative inverse modulo b. This is the foundation of modular arithmetic and public-key cryptography.
Question 3 True / False
The Bézout coefficients x and y in the equation ax + by = gcd(a, b) are generally positive integers.
TTrue
FFalse
Answer: False
Bézout coefficients are integers that may be positive, negative, or zero — this surprises many students who expect coefficients in a sum to be positive. For example, gcd(12, 18) = 6, and the Bézout representation is 12·(−1) + 18·1 = 6, where x = −1. In general, if (x₀, y₀) is one solution, then infinitely many solutions exist by adjusting with multiples of b/gcd and a/gcd, and both positive and negative coefficients are possible. Finding the specific coefficients requires the extended Euclidean algorithm.
Question 4 True / False
If gcd(a, m) = 1, then there exists an integer x such that ax ≡ 1 (mod m) — meaning a has a multiplicative inverse modulo m.
TTrue
FFalse
Answer: True
This follows directly from Bézout's identity: if gcd(a, m) = 1, then there exist integers x, y such that ax + my = 1. Reducing this equation modulo m gives ax ≡ 1 (mod m), so x is the multiplicative inverse of a modulo m. This is the key result that makes modular arithmetic work for cryptographic applications — in RSA encryption, for instance, the decryption key is computed as a modular inverse. The requirement that gcd(a, m) = 1 is essential: if gcd(a, m) > 1, no such inverse exists.
Question 5 Short Answer
Explain why Bézout's identity is described as elevating the GCD from 'an arithmetic curiosity to an algebraic tool.'
Think about your answer, then reveal below.
Model answer: Before Bézout's identity, the GCD is just a number — the largest common divisor of a and b. Bézout's identity reveals that this number can be expressed as a linear combination ax + by of the original integers, making it accessible through algebraic operations. This unlocks a chain of applications: it proves that if gcd(a, m) = 1, then a has a multiplicative inverse mod m (essential for modular arithmetic), and it provides the constructive method (extended Euclidean algorithm) for finding that inverse. The GCD stops being a static property and becomes a lever for solving equations and building cryptographic systems.
The phrase 'algebraic tool' points to the shift from description to manipulation. Knowing that gcd(12, 18) = 6 describes a relationship; knowing that 12·(−1) + 18·1 = 6 gives you something to work with algebraically. The extended form makes the GCD actionable in proofs and algorithms in a way that the simple definition does not.