Maths Olympiad Prep

Library / /30 of 30

, 2025

Number theory Difficulty 4.1 AIME Prove it Canada

To determine the number of positive divisors of NN, we take the exponents on the prime
powers in the prime factorization of NN, add 11 to each of the exponents, and
multiply the resulting numbers together. For example, the prime
factorization of 280280 is 2351712^35^17^1,
and so 280280 has (3+1)(1+1)(1+1)=16(3+1)(1+1)(1+1)=16
positive divisors.

How many ordered pairs of positive
integers (a,b)(a,b) are there for which
ab=400ab=400 and 1<ab1 < a \le b?
Determine the number of ordered triples
of positive integers (p,q,r)(p,q,r) for
which pqr=270000pqr=270\,000.
Determine the number of ordered triples
of positive integers (x,y,z)(x,y,z) for
which xyz=270000xyz=270\,000 and 1<xyz1 < x \le y \le z.

Solution

The prime factorization of 400400 is 24522^45^2, and so 400400 has (4+1)(2+1)=15(4+1)(2+1)=15 positive divisors.

Since 202=40020^2=400, one of these 1515 positive divisors is 2020, from which we get the ordered pair
(a,b)=(20,20)(a,b)=(20,20).

The remaining 1414 positive divisors
give 142=7\dfrac{14}{2}=7 factor pairs
of positive integers (a,b)(a,b) with
a<ba< b. One of these 77 factor pairs has a=1a=1, which we must omit since a>1a>1.

Thus, there are 66 ordered pairs
(a,b)(a,b) with a<ba<b and 1 with a=ba=b, for a total of 77 ordered pairs of positive integers
(a,b)(a,b) for which ab=400ab=400 and 1<ab1<a\leq b.

(These ordered pairs are (2,200)(2,200),
(4,100)(4,100), (5,80)(5, 80), (8,50)(8,50), (10,40)(10,40), (16,25)(16,25), and (20,20)(20,20).)
The prime factorization of 270000270 000 is 2433542^43^35^4.

We count the number of ways to distribute each of the prime factors
among pp, qq and rr.

The three prime factors equal to 33 could all be distributed to exactly one
of pp, qq or rr.

This can be done in 33 different
ways.

Two 33s can be distributed to one
factor, and one 33 to another. There
are 33 choices for the factor having
two 33s, and 22 choices for the factor having one 33, and thus 3×2=63\times2=6 ways to distribute two 33s to one factor and one 33 to another.

Finally, one 33 can be distributed
to each of the factors, and this can be done in 11 way.

Thus, there are 3+6+1=103+6+1=10 ways to
distribute the 33s among pp, qq
and rr.

The four prime factors equal to 22 could all be distributed to exactly one
of pp, qq or rr.

This can be done in 33 different
ways.

Three 22s can be distributed to one
factor, and one 22 to another. There
are 33 choices for the factor having
three 22s, and 22 choices for the factor having one 22, and thus 3×2=63\times2=6 ways to distribute three 22s to one factor and one 22 to another.

Two 22s can be distributed to one
factor, and two 22s to another
factor. There are 33 choices for the
factor having two 22s, and 22 choices for the second factor having
two 22s. However, since the number
of 22s being distributed to each
factor is equal, we have double counted the possibilities.

Thus, there are 3×22=3\dfrac{3\times2}{2}=3 ways to distribute
two 22s to one factor and two 22s to another.

(This is equivalent to counting the number of ways of choosing the
factor receiving no 22s.)

Finally, two 22s can be distributed
to one of the factors in 33 ways,
and one 22 can be distributed to
each of the other two factors in 11
way, for 33 possibilities in this
final distribution. Thus, there are 3+6+3+3=153+6+3+3=15 ways to distribute the 22s among pp, qq
and rr.

Similarly, there are 1515 ways to
distribute the four 55s among pp, qq
and rr, and so there are 10×15×15=225010\times15\times15=2250 ways to
distribute the prime factors, and thus 22502250 ordered triples of positive integers
(p,q,r)(p,q,r) for which pqr=270000pqr=270\,000.
As shown in part (b), there are 22502250 ordered triples of positive integers
(x,y,z)(x,y,z) for which xyz=270000=243354xyz=270\,000=2^43^35^4.

For distinct values of xx, yy and zz, these 22502250 triples include the 66 possible arrangements of xx, yy
and zz.

For example, each of the 66
arrangements of (54,24,33)(5^4,2^4, 3^3) is
included among the 22502250
triples.

Of these 66, it is only (24,33,54)(2^4, 3^3, 5^4) that is counted in part
(c) since we require $xy\$x\leq y\leq
z$.

Thus, we must determine the number of ordered triples from part (b)
which do not satisfy xyzx\leq y\leq z
and subtract this from 22502250 (we
refer to this as Step 1).

Further, we require ordered triples for which 1<x1<x. Thus, we also must determine the
number of ordered triples for which x=1x=1 and subtract this from the number of
triples that remain following Step 1. We refer to this as Step 2.

Step 1:

Since 270000270\,000 is not a perfect
cube, it is not possible that x=y=zx=y=z.

Thus, each of the 22502250 ordered
triples belongs to exactly one of the following two cases: exactly two
of xx, yy, zz
are equal, or all three are distinct.

Suppose that exactly two of the factors are equal, say x=yx=y.

In this case xyz=x2z=243354xyz=x^2z=2^43^35^4,
and so x2x^2 is a perfect square
divisor of 2433542^43^35^4.

Each perfect square divisor of 2433542^43^35^4 is a number of the form 2u3v5w2^u3^v5^w where u=0,2u=0,2 or 4, v=0v=0 or 22, and w=0,2w=0,2 or 44.

There are 33 choices for uu, 22
choices for vv, and 33 choices for ww, and so there are 3×2×3=183\times2\times3=18 perfect square
divisors of 2433542^43^35^4.

When exactly two of the factors are equal, there are 33 ways to arrange the three factors, and
so there are 3×18=543\times18=54 ordered
triples for which exactly two of xx,
yy, zz are equal.

Thus, the number of ordered triples for which xx, yy
and zz are distinct is 225054=21962250-54=2196.

For distinct values of xx, yy and zz, the 21962196 triples include each of the 6
possible arrangements of xx, yy and zz.

Thus, the number of ordered triples (x,y,z)(x,y,z) with 1x<y<z1\leq x<y<z is 21966=366\dfrac{2196}{6}=366.

Since there are 1818 ordered triples
(x,y,z)(x,y,z) for which xx, yy, zz
are not distinct (exactly two are equal), then there are 366+18=384366+18=384 ordered triples (x,y,z)(x,y,z) with 1xyz1\leq x \leq y \leq z. This completes
Step 1.

Step 2:

We require each of xx, yy, zz
to be greater than 11, and so in
this final step we determine the number of ordered triples for which
x=1x=1, and subtract this from 384384.

When x=1x=1, xyz=243354xyz=2^43^35^4 becomes yz=243354yz=2^43^35^4 which means that (y,z)(y,z) is a factor pair of 2433542^43^35^4.

Since 2433542^43^35^4 has 5×4×5=1005\times4\times5=100 positive divisors,
then it has 1002=50\dfrac{100}{2}=50
factor pairs of positive integers (y,z)(y,z) with yzy\leq z, and so there are 5050 ordered triples for which x=1x=1.

Thus, the number of ordered triples of positive integers (x,y,z)(x,y,z) for which xyz=270000xyz=270\,000 and 1<xyz1<x\leq y \leq z is 38450=334384-50=334.

Want a route through all this instead of an archive? The track puts 2,444 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: CEMC, University of Waterloo, licensed CC-BY-NC-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.