Skip to main content

2020 AMC 10B Problem 25

Problem 25 of 25HarderNumber TheoryCounting & Probability

Let D(n)D(n) denote the number of ways of writing the positive integer nn as a product n=f1f2fk,n = f_1\cdot f_2\cdots f_k, where k1,k\ge1, the fif_i are integers strictly greater than 1,1, 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 6,6, 23,2\cdot 3, and 32,3\cdot2, so D(6)=3.D(6) = 3. What is D(96)?D(96)?

Answer choices

Show solution

Solution

Write 96=253.96=2^5\cdot3. Suppose an ordered factorization has kk factors. Exactly one factor contains the single prime factor 33; choose its position in kk ways. The other k1k-1 factors must each contain at least one factor of 2,2, while the factor containing 33 may contain any number of factors of 2.2. Distributing the five factors of 22 under these conditions can be done in (5k1)\binom{5}{k-1} ways. Therefore the number of ordered factorizations with kk factors is k(5k1),k\binom{5}{k-1}, where 1k6.1\le k\le6. Thus D(96)=k=16k(5k1).D(96)=\sum_{k=1}^6 k\binom{5}{k-1}. Letting j=k1,j=k-1, this becomes j=05(j+1)(5j)=j=05j(5j)+j=05(5j)=524+25=80+32=112. \begin{aligned} &\sum_{j=0}^5 (j+1)\binom5j \\ &\quad =\sum_{j=0}^5 j\binom5j+\sum_{j=0}^5\binom5j \\ &\quad =5\cdot2^4+2^5 \\ &\quad =80+32=112. \end{aligned} Thus, A is the correct answer.

More practice

Concepts: prime factorization · combinations

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.