Question

Difficulty: MediumGreatest Common Divisor (GCD) and Least Common Multiple (LCM)

Two positive integers xx and yy have a greatest common divisor (GCD) of 1414 and a least common multiple (LCM) of 840840. If 14<x<y<20014 < x < y < 200 and xx is not a multiple of 44, what is the value of yxy - x?

  1. A
    4242
  2. 9898Answer
  3. C
    112112
  4. D
    126126
  5. E
    238238

Answer

The value of yxy - x is 9898.
The prime factorizations of GCD(x,y)=14=21×71\text{GCD}(x,y)=14=2^1 \times 7^1 and LCM(x,y)=840=23×31×51×71\text{LCM}(x,y)=840=2^3 \times 3^1 \times 5^1 \times 7^1 require xx and yy to split the exponents of 2,3,5,72, 3, 5, 7. Since xx is not a multiple of 44, xx contains 212^1 and yy contains 232^3. Both contain 717^1. To satisfy 14<x<y<20014 < x < y < 200, xx must take factor 55 (x=70x = 70) and yy must take factor 33 (y=168y = 168). The difference is 16870=98168 - 70 = 98.

Step-by-Step Solution

1
Express the GCD and LCM in prime factorized form.
GCD(x,y)=14=21×30×50×71\text{GCD}(x, y) = 14 = 2^1 \times 3^0 \times 5^0 \times 7^1 and LCM(x,y)=840=23×31×51×71\text{LCM}(x, y) = 840 = 2^3 \times 3^1 \times 5^1 \times 7^1.
Prime factorization allows us to analyze the min and max prime exponents shared between xx and yy.
2
Determine the distribution of prime factor exponents between xx and yy.
For factor 77: both xx and yy must have exponent 11.
For factor 22: min(ax,ay)=1\min(a_x, a_y) = 1 and max(ax,ay)=3\max(a_x, a_y) = 3. Since xx is not divisible by 44 (222^2), ax=1a_x = 1, which forces ay=3a_y = 3.
For factors 33 and 55: one integer receives 313^1 and the other receives 515^1.
The GCD takes the minimum exponent and the LCM takes the maximum exponent for each prime factor.
3
Test possible assignments of factors 33 and 55 under the given inequalities.
Case 1: xx gets 33 and yy gets 55. x=2×7×3=42x = 2 \times 7 \times 3 = 42, y=8×7×5=280y = 8 \times 7 \times 5 = 280. This fails y<200y < 200.
Case 2: xx gets 55 and yy gets 33. x=2×7×5=70x = 2 \times 7 \times 5 = 70, y=8×7×3=168y = 8 \times 7 \times 3 = 168. This satisfies 14<70<168<20014 < 70 < 168 < 200.
Only Case 2 satisfies all structural and boundary constraints (14<x<y<20014 < x < y < 200 and xx not a multiple of 44).
4
Compute yxy - x.
yx=16870=98y - x = 168 - 70 = 98.
Direct subtraction of the valid integer values.

Key Concept

Prime Factorization Rules for GCD and LCM
Rate this question