Let denote the number of ways of writing the positive integer as a product
where , the are integers strictly greater than , 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 can be written as , , and , so . What is ?
- A)
- B)
- C)
- D)
- E)
Answer
A
Key insight
96 = 2^5 * 3; with k factors, place the 3 in one slot, then give every other slot a 2 and distribute the rest: k * C(5, k-1).
Solution
Factor . An ordered factorization into factors is the same as deciding, for each prime, how its copies are split among the ordered slots, subject to every slot receiving something (so that no factor equals ). Since there are only six prime factors, .
Fix . The single goes into one of the slots ( choices). That slot is already bigger than ; the other slots each need at least one . Give each of them one , leaving twos to distribute freely among all slots: by stars and bars, ways.
So the number of ordered factorizations with factors is :
| 1 | 2 | 3 | 4 | 5 | 6 | |
|---|---|---|---|---|---|---|
Sum: .
The answer is .
Why this works
Ordered factorizations are distributions of prime factors into labeled boxes with the constraint "no empty box." When one prime appears once, it acts as a wildcard that fills one box for free, and the remaining prime copies are distributed with the standard "at least one each" stars-and-bars trick (pre-place one in each needy box). Casework on the number of factors keeps the constraint manageable.
Alternative approach
Recursion: (pick the first factor ). Build up and for : , , , , , . This is slower but excellent as a check.
The trap
Distributing the five 2's without requiring every factor to exceed 1, which counts factors equal to 1 and overcounts badly.
Common mistakes
- Distributing the five 2's without requiring every factor to exceed 1, which counts factors equal to 1 and overcounts badly.
- Forgetting the factor for the position of the , which gives , or treating factorizations as unordered.
Techniques
Map the objects to something easier to count · Split into exhaustive cases and handle each