AMC 10 Step by Step

2016 AMC 10A Problem 25

P21-25~7 minPrint

How many ordered triples (x,y,z)(x,y,z) of positive integers satisfy lcm(x,y)=72,lcm(x,z)=600\text{lcm}(x,y) = 72, \text{lcm}(x,z) = 600 and lcm(y,z)=900\text{lcm}(y,z)=900 ?

Log in to save your progress.
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. 72=23⋅3272 = 2^3 \cdot 3^2, 600=23⋅3⋅52600 = 2^3 \cdot 3 \cdot 5^2 and 900=22⋅32⋅52900 = 2^2 \cdot 3^2 \cdot 5^2. Every prime in xx, yy or zz must show up in these lcms, so only 22, 33 and 55 can appear.

Step 2: the lcm rule. For each prime, the lcm uses the larger of the two exponents. For example lcm(12,18)=lcm(22⋅3, 2⋅32)=22⋅32=36\text{lcm}(12, 18) = \text{lcm}(2^2 \cdot 3,\ 2 \cdot 3^2) = 2^2 \cdot 3^2 = 36. 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 x,y,zx, y, z by the letters a,b,ca, b, c.

Prime 2. The conditions are: larger of a,ba, b is 33; larger of a,ca, c is 33; larger of b,cb, c is 22.
- The last condition says bb and cc are both at most 22. So the 33 in the first two conditions must come from aa: a=3a = 3.
- Now b,cb, c are each 00, 11 or 22, and at least one of them is 22. Of the 3⋅3=93 \cdot 3 = 9 pairs, the ones with no 22 number 2⋅2=42 \cdot 2 = 4, so 9−4=59 - 4 = 5 pairs work.
- 55 choices.

Prime 3. Larger of a,ba, b is 22; larger of a,ca, c is 11; larger of b,cb, c is 22.
- The middle condition says aa and cc are at most 11. So the 22 in the first condition must come from bb: b=2b = 2. The third condition then holds automatically.
- Now a,ca, c are each 00 or 11 with at least one equal to 11: the pairs (1,0)(1,0), (0,1)(0,1), (1,1)(1,1).
- 33 choices.

Prime 5. Larger of a,ba, b is 00, so a=b=0a = b = 0. Then larger of a,ca, c is 22 forces c=2c = 2, and the last condition checks out.
- 11 choice.

Step 3: multiply. The choices for different primes do not affect each other, so there are 5⋅3⋅1=155 \cdot 3 \cdot 1 = 15 triples.

The answer is (A) 15\boxed{\textbf{(A)}\ 15}.

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 00 to tt is exactly tt", count all pairs and subtract the ones with no tt.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Factor: 72=23⋅3272 = 2^3\cdot 3^2, 600=23⋅3⋅52600 = 2^3\cdot 3\cdot 5^2, 900=22⋅32⋅52900 = 2^2\cdot 3^2\cdot 5^2. No other primes can appear in x,y,zx, y, z. Since an lcm takes the larger exponent of each prime, the three conditions separate prime by prime; let x,y,zx, y, z carry exponents (a,b,c)(a, b, c) for the prime under consideration.

Prime 2: max⁡(a,b)=3\max(a,b) = 3, max⁡(a,c)=3\max(a,c) = 3, max⁡(b,c)=2\max(b,c) = 2. Neither bb nor cc can be 33, so a=3a = 3. Then b,c∈{0,1,2}b, c \in \{0,1,2\} with max⁡(b,c)=2\max(b,c) = 2: 32−22=53^2 - 2^2 = 5 pairs.

Prime 3: max⁡(a,b)=2\max(a,b) = 2, max⁡(a,c)=1\max(a,c) = 1, max⁡(b,c)=2\max(b,c) = 2. Since a,c≤1a, c \le 1, we need b=2b = 2. Then a,c∈{0,1}a, c \in \{0,1\} with max⁡(a,c)=1\max(a,c) = 1: 22−12=32^2 - 1^2 = 3 pairs.

Prime 5: max⁡(a,b)=0\max(a,b) = 0 forces a=b=0a = b = 0, and then max⁡(a,c)=2\max(a,c) = 2 forces c=2c = 2: 11 way.

The exponent choices for different primes are independent, so the number of triples is 5⋅3⋅1=155\cdot 3\cdot 1 = 15.

The answer is (A) 15\boxed{\textbf{(A)}\ 15}.

Review in the AoPS books

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.