AMC 10 Step by Step

2020 AMC 10B Problem 25

P21-25~10 minPrint

Let D(n)D(n) denote the number of ways of writing the positive integer nn as a product n=f1⋅f2⋯fk,n = f_1\cdot f_2\cdots f_k,

where k≥1k\ge1 , the fif_i are integers strictly greater than 11 , and the order in which the factors are listed matters (that is, two representations that differ only in the order of the factors are counted as distinct). For example, the number 66 can be written as 66 , 2⋅32\cdot 3 , and 3⋅23\cdot2 , so D(6)=3D(6) = 3 . What is D(96)D(96) ?

Log in to save your progress.
Show solution without answering

Key insight

96 is five 2s times a 3. Put the 3 in one factor, give every other factor one 2, then share out the leftover 2s freely among all the factors.

Solution

  1. Factor. 96=2×2×2×2×2×3=25×396 = 2 \times 2 \times 2 \times 2 \times 2 \times 3 = 2^5 \times 3. Writing 9696 as an ordered product means sharing these six prime factors among the factors f1,f2,…,fkf_1, f_2, \ldots, f_k in order, so that each factor gets at least one prime (no factor may be 11). With only six primes, kk is between 11 and 66.
  2. A small case first: k=2k = 2. The 33 goes to f1f_1 or f2f_2: 22 choices. The other factor still needs at least one 22, so give it one. The remaining four 22s can be split between f1f_1 and f2f_2 as 4+0,3+1,2+2,1+3,0+44+0, 3+1, 2+2, 1+3, 0+4: 55 ways. Total 2×5=102 \times 5 = 10. Check: 9696 has 1212 divisors, and every divisor other than 11 and 9696 can be f1f_1, which gives 1010.
  3. General kk. The 33 goes into one of the kk factors: kk choices. The other k−1k - 1 factors each need at least one 22, so give each of them one. That leaves 5−(k−1)=6−k5 - (k - 1) = 6 - k twos to share freely among all kk factors.
  4. Sharing out the leftover 22s. Line up the 6−k6 - k twos and place k−1k - 1 dividers among them to split them into kk groups (groups may be empty). That is (6−k)+(k−1)=5(6 - k) + (k - 1) = 5 symbols in a row, and we choose which k−1k - 1 of them are dividers: (5k−1)\binom{5}{k-1} ways.
  5. So for kk factors there are k×(5k−1)k \times \binom{5}{k-1} products.
kk112233445566
kk choices for the 33112233445566
(5k−1)\binom{5}{k-1}1155101010105511
product11101030304040252566
  1. Add. 1+10+30+40+25+6=1121 + 10 + 30 + 40 + 25 + 6 = 112.

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

Why this works

An ordered product is just a way of sharing prime factors among labeled boxes, with no box left empty. A prime that appears only once, like the 33 here, fills one box by itself. For the other boxes, hand each one a 22 first and then share out the rest with the "dividers" count. Splitting by the number of factors keeps the "no empty box" rule easy to handle.

Alternative approach

Build up from smaller numbers by choosing the first factor. If the first factor is dd, the rest is an ordered product equal to 96÷d96 \div d. So D(n)=1+D(n) = 1 + the sum of D(n÷d)D(n \div d) over all divisors dd with 1<d<n1 < d < n. Working upward: D(2)=1D(2) = 1, D(4)=2D(4) = 2, D(8)=4D(8) = 4, D(16)=8D(16) = 8, D(32)=16D(32) = 16, and D(3)=1D(3) = 1, D(6)=3D(6) = 3, D(12)=8D(12) = 8, D(24)=20D(24) = 20, D(48)=48D(48) = 48, D(96)=112D(96) = 112. It is slower, but a good check.

Concise solution

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

Factor 96=25⋅396 = 2^5 \cdot 3. An ordered factorization into kk factors is the same as deciding, for each prime, how its copies are split among the kk ordered slots, subject to every slot receiving something (so that no factor equals 11). Since there are only six prime factors, 1≤k≤61 \le k \le 6.

Fix kk. The single 33 goes into one of the kk slots (kk choices). That slot is already bigger than 11; the other k−1k - 1 slots each need at least one 22. Give each of them one 22, leaving 5−(k−1)=6−k5 - (k-1) = 6 - k twos to distribute freely among all kk slots: by stars and bars, ((6−k)+(k−1)k−1)=(5k−1)\binom{(6-k) + (k-1)}{k-1} = \binom{5}{k-1} ways.

So the number of ordered factorizations with kk factors is k(5k−1)k \binom{5}{k-1}:

kk123456
k(5k−1)k\binom{5}{k-1}11101030304040252566

Sum: 1+10+30+40+25+6=1121 + 10 + 30 + 40 + 25 + 6 = 112.

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

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.