Learn / Library / Combinatorics
Capped lot allocations
A desk allocates identical lots among strategies. Each strategy gets a whole number of lots from to inclusive. How many allocations are there? Strategies are distinguishable.
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Count allocations without the cap, then remove those where some strategy exceeds it.
Solution
- Without the cap there are allocations.
- If a given strategy has at least lots, set those aside and share the remaining freely, giving allocations; there are strategies, so are subtracted.
- If given strategies both have at least lots, the remaining lots can be shared in ways, and there are pairs; strategies would need at least lots, which is impossible.
- The answer is .
Answer: