Take a test Sign in 中文
← Exercise 558 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Basic Counting (147)
Balls in Boxes (6)
Probability (142)

Exercises and their solutions

Exercise 558
Let $D(n)$ denote the number of ways of writing the positive integer $n$ as a product $n=f_1\cdot f_2\cdots f_k$, where $k\ge1$, the $f_i$ are integers greater than $1$, and the order of the factors matters. (For example, $D(6)=3$: $6$, $2\cdot3$, $3\cdot2$.) What is $D(360)$?
← Back to Problem 558
Solution
  1. $360=2^3\cdot3^2\cdot5$. Each factor uses at least one prime, and there are $3+2+1=6$ prime factors in all, so a factorization has $k\le6$ factors. Count the factorizations with exactly $k$ factors.
  2. First allow factors equal to $1$. An ordered $k$-tuple of positive integers with product $360$ is determined by splitting each exponent among the $k$ factors. By stars and bars (Theorem 74), the exponent $3$ of $2$ can be split in $\binom{k+2}{3}$ ways, the exponent $2$ of $3$ in $\binom{k+1}{2}$ ways, and the exponent $1$ of $5$ in $k$ ways. So there are
    \[g(k)=\binom{k+2}{3}\binom{k+1}{2}k\]
    such tuples: $g(1),\dots,g(6)=1,24,180,800,2625,7056$.
  3. Now remove the tuples containing a $1$. By inclusion–exclusion on the set of positions holding a $1$ (if $j$ given positions are $1$, the other $k-j$ factors form one of $g(k-j)$ tuples), the number of factorizations with exactly $k$ factors is
    \[f(k)=g(k)-\binom k1g(k-1)+\binom k2g(k-2)-\cdots.\]
  4. This gives
    $f(1)=1$,
    $f(2)=24-2\cdot1=22$,
    $f(3)=180-3\cdot24+3\cdot1=111$,
    $f(4)=800-4\cdot180+6\cdot24-4\cdot1=220$,
    $f(5)=2625-5\cdot800+10\cdot180-10\cdot24+5\cdot1=190$,
    $f(6)=7056-6\cdot2625+15\cdot800-20\cdot180+15\cdot24-6\cdot1=60$.
    (Check: with $6$ factors every factor is a single prime, and there are $\frac{6!}{3!\,2!\,1!}=60$ orders of $2,2,2,3,3,5$.)
  5. Total: $1+22+111+220+190+60=\boxed{604}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year