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 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
- Factor. . Writing as an ordered product means sharing these six prime factors among the factors in order, so that each factor gets at least one prime (no factor may be ). With only six primes, is between and .
- A small case first: . The goes to or : choices. The other factor still needs at least one , so give it one. The remaining four s can be split between and as : ways. Total . Check: has divisors, and every divisor other than and can be , which gives .
- General . The goes into one of the factors: choices. The other factors each need at least one , so give each of them one. That leaves twos to share freely among all factors.
- Sharing out the leftover s. Line up the twos and place dividers among them to split them into groups (groups may be empty). That is symbols in a row, and we choose which of them are dividers: ways.
- So for factors there are products.
| choices for the | ||||||
| product |
- Add. .
The answer is .
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 here, fills one box by itself. For the other boxes, hand each one a 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 , the rest is an ordered product equal to . So the sum of over all divisors with . Working upward: , , , , , and , , , , , . It is slower, but a good check.
The trap
Sharing out the five 2s without making sure every factor gets something, which counts factors equal to 1 and gives too many.
Concise 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 .
Review in the AoPS books
- Intermediate Counting & Probability, Chapter 7: Distributions (§7.2, §7.3)
- Introduction to Number Theory, Chapter 1: Integers: The Basics (§1.4, §1.5)
- Introduction to Counting & Probability, Chapter 1: Counting Is Arithmetic
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.2)
Techniques
Map the objects to something easier to count · Split into exhaustive cases and handle each