Ma · Mathematics

Find Positive Integers with GCD 10 and LCM 100

Published By the 9to5Science editorial team

At a glance

  1. 1. Factor out the GCD

    Write a = 10x and b = 10y. The new factors x and y must be relatively prime.

  2. 2. Use the LCM

    For relatively prime x and y, the LCM of 10x and 10y is 10xy, so xy = 10.

  3. 3. Find coprime factors

    List the positive factor pairs of 10 whose entries have greatest common divisor 1.

  4. 4. Recover a and b

    Multiply each factor pair by 10 to get all ordered solutions.

To find all positive integers aa and bb with greatest common divisor 1010 and least common multiple 100100, factor out their shared divisor. The remaining factors must be relatively prime, and their product is fixed by the LCM. This reduces the problem to checking a short list of factor pairs.

Factor out the greatest common divisor

Since gcd⁡(a,b)=10\gcd(a,b)=10, both numbers are multiples of 1010. Write

a=10x,b=10ya=10x,\qquad b=10y

for positive integers xx and yy. Dividing both numbers by their greatest common divisor leaves numbers with no common factor greater than 11, so

gcd⁡(x,y)=1.\gcd(x,y)=1.

The LCM can then be expressed in terms of xx and yy. For any positive integers x,yx,y,

lcm⁡(10x,10y)=10lcm⁡(x,y).\operatorname{lcm}(10x,10y)=10\operatorname{lcm}(x,y).

Because xx and yy are coprime, lcm⁡(x,y)=xy\operatorname{lcm}(x,y)=xy. Therefore,

lcm⁡(a,b)=10xy.\operatorname{lcm}(a,b)=10xy.

The required LCM is 100100, so 10xy=10010xy=100, or xy=10xy=10.

Find the coprime factor pairs

The positive factor pairs whose product is 1010 are (1,10)(1,10) and (2,5)(2,5), along with their reversals. Each pair is coprime:

gcd⁡(1,10)=1,gcd⁡(2,5)=1.\gcd(1,10)=1,\qquad \gcd(2,5)=1.

Thus the possibilities for (x,y)(x,y) are

(1,10), (10,1), (2,5), (5,2).(1,10),\ (10,1),\ (2,5),\ (5,2).

Multiplying each coordinate by 1010 gives the complete list:

(a,b)=(10,100), (100,10), (20,50), (50,20).\boxed{(a,b)=(10,100),\ (100,10),\ (20,50),\ (50,20).}

These are ordered pairs, so reversing the entries counts as a separate solution. If the question treats the pair as unordered, there are just two possibilities: {10,100}\{10,100\} and {20,50}\{20,50\}.

Check the candidates

For (10,100)(10,100), the smaller number divides the larger, so the greatest common divisor is 1010 and the LCM is 100100. For (20,50)(20,50), the Euclidean algorithm gives

50=2⋅20+10,20=2⋅10,50=2\cdot20+10,\qquad 20=2\cdot10,

so gcd⁡(20,50)=10\gcd(20,50)=10. Their LCM is

lcm⁡(20,50)=20⋅5010=100.\operatorname{lcm}(20,50)=\frac{20\cdot50}{10}=100.

Swapping the entries does not change either the GCD or the LCM, so the reversed pairs also satisfy both conditions.

Why the list is complete

The calculation xy=10xy=10 restricts the possibilities to positive factor pairs of 1010. The additional condition gcd⁡(x,y)=1\gcd(x,y)=1 rules out any factor pair with a common divisor greater than 11. Here both factor pairs are coprime, so there are no other cases to consider.

More generally, if positive integers have GCD gg and LCM LL, write them as gxgx and gygy, where gcd⁡(x,y)=1\gcd(x,y)=1. Their LCM is then gxygxy, which means xy=L/gxy=L/g. This gives a useful general test: gg must divide LL, and each solution corresponds to a coprime factor pair of L/gL/g.

Common mistakes

  • Using all factor pairs without checking coprimality. After factoring out the GCD, the two remaining factors must be relatively prime. For this example, the pairs (1,10)(1,10) and (2,5)(2,5) pass that test.
  • Counting only one ordering. If the problem asks for all pairs (a,b)(a,b), include both orders unless it explicitly treats the pair as unordered.
  • Using the product formula without its condition. The identity lcm⁡(x,y)=xy\operatorname{lcm}(x,y)=xy applies only when xx and yy are coprime. In general, gcd⁡(x,y)lcm⁡(x,y)=xy\gcd(x,y)\operatorname{lcm}(x,y)=xy.
  • Stopping at the factor pairs. The pairs found are for x,yx,y, not a,ba,b; multiply each entry by 1010 to recover the requested integers.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.