Combinations with Repetition
This counts the ways to choose items from types when repetition is allowed and order does not matter ("stars and bars").
LaTeX
\binom{n+k-1}{k}Variables
- number of types
- number of items chosen
Example
Choose 5 scoops from 3 ice-cream flavours.
- .
Answer: .