How many ordered pairs of positive integers satisfy the equation where denotes the greatest common divisor of and , and denotes their least common multiple?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
Write a = gx, b = gy with x, y coprime; then 63 = g(xy(20 - g) + 12), so g divides 63 and only g = 21 works.
Solution
Let and write , with . Then and . The equation becomes
So is a divisor of : , and .
- : , no.
- : , no.
- : , no.
- : , no.
- : , so with coprime: or .
- : , no.
The coprime factorizations of exclude , leaving two ordered pairs: and . Check: and .
The answer is .
Why this works
Any equation mixing , and the product should be rewritten with , , , because then and everything becomes polynomial. Isolating a constant as turns an infinite search into casework on the divisors of that constant.
Alternative approach
Use directly: with , , the equation is , i.e. (Simon's trick). Since and , test the factor pairs: gives and works; the others fail divisibility or positivity. Then splits into coprime parts as in two orders.
The trap
Forgetting that x and y must be coprime, so that xy = 9 wrongly admits (3,3) (which has gcd 63, not 21) and yields 3 ordered pairs instead of 2.
Common mistakes
- Forgetting that x and y must be coprime, so that xy = 9 wrongly admits (3,3) (which has gcd 63, not 21) and yields 3 ordered pairs instead of 2.
- Counting once and answering with an unordered count, or forgetting to reject the cases where has the wrong sign.
Techniques
Split into exhaustive cases and handle each · Substitute to simplify (u = x+1/x, shifting, scaling)