2016 AMC 10A Problem 25
How many ordered triples of positive integers satisfy and ?
Show solution without answering
Key insight
The lcm takes the larger power of each prime, so treat 2, 3 and 5 separately: 5, 3 and 1 choices, and 15 in all.
Solution
Step 1: factor. , and . Every prime in , or must show up in these lcms, so only , and can appear.
Step 2: the lcm rule. For each prime, the lcm uses the larger of the two exponents. For example . So the conditions split up prime by prime, and we can count choices for each prime separately and multiply.
For each prime, call the exponents in by the letters .
Prime 2. The conditions are: larger of is ; larger of is ; larger of is .
- The last condition says and are both at most . So the in the first two conditions must come from : .
- Now are each , or , and at least one of them is . Of the pairs, the ones with no number , so pairs work.
- choices.
Prime 3. Larger of is ; larger of is ; larger of is .
- The middle condition says and are at most . So the in the first condition must come from : . The third condition then holds automatically.
- Now are each or with at least one equal to : the pairs , , .
- choices.
Prime 5. Larger of is , so . Then larger of is forces , and the last condition checks out.
- choice.
Step 3: multiply. The choices for different primes do not affect each other, so there are triples.
The answer is .
Why this works
Lcm and gcd conditions are really statements about exponents, one prime at a time, and different primes never interact, so the answer is a product of small counts. Within one prime, three "larger of two" conditions usually force one exponent right away and leave a simple count for the other two. For "the larger of two numbers from to is exactly ", count all pairs and subtract the ones with no .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Factor: , , . No other primes can appear in . Since an lcm takes the larger exponent of each prime, the three conditions separate prime by prime; let carry exponents for the prime under consideration.
Prime 2: , , . Neither nor can be , so . Then with : pairs.
Prime 3: , , . Since , we need . Then with : pairs.
Prime 5: forces , and then forces : way.
The exponent choices for different primes are independent, so the number of triples is .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 3: Multiples and Divisors (§3.3, §3.4, §3.7)
- Introduction to Counting & Probability, Chapter 1: Counting Is Arithmetic
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.2)
- Introduction to Number Theory, Chapter 4: Prime Factorization (§4.7)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.