1

Find all positive pairs of integers a, b such that (a, b) = 12 and [a, b] = 360.

I used the formula [a, b] = ab/(a, b) and I got that ab = 4320.

From there I just listed all 48 factors of 4320 alongside the factor they correspond with. However, the pair 54 and 80 multiply to 4320 but their lcm is 2160, and not 360 as the problem asks. Is there a faster way to find out which pairs fit the criteria than testing them one by one?

amWhy
  • 210,739
Ismael
  • 179

1 Answers1

2

You're looking for two positive integers $a$ and $b$ with a GCD of $12 = 2^2 \times 3^1 \times 5^0$ and an LCM of $360 = 2^3 \times 3^2 \times 5^1$.

So consider just the powers of two that divide $a$ and $b$. One of them must have $2^2$ in its prime factorization and the other must have $2^3$. Similarly, one must have $3^1$ in its factorization and the other has $3^2$; one has $5^0$ and the other has $5^1$.

How can you put those together to make $a$ and $b$?

Michael Lugo
  • 24,422