Combinations with Repetition
Stars and bars.
Key idea
Stars and bars.
In depth
Choosing r items from n types with repetition allowed (order ignored) has C(n + r − 1, r) options. The stars and bars method turns it into placing n − 1 dividers among r stars.
Worked example
Choosing 3 scoops from 5 flavours: C(7, 3) = 35.
Formula
Real-world uses
- Choosing snacks from a shop when several of the same item are allowed
Common mistake
Using C(n, r), which forbids repeats.
How to learn this
- Read the key idea and say it in your own words.
- Work through the worked example, then try a similar problem.
- Use the interactive lesson’s visual and mini-quiz to check the pattern.
Frequently asked questions
What is Combinations with Repetition?
Stars and bars. It is a topic at the expert level in Discrete Math & Number Theory.
What is the formula for Combinations with Repetition?
The key formula is C(n+k−1, k).
Where is Combinations with Repetition used in real life?
Real-world examples: Choosing snacks from a shop when several of the same item are allowed.
What should I learn before Combinations with Repetition?
Make sure you are comfortable with Circular Permutations, the previous topic in Discrete Math & Number Theory.
What is a common mistake with Combinations with Repetition?
Using C(n, r), which forbids repeats.
How can I practise Combinations with Repetition?
Open the interactive lesson, play with the visual, then answer the three-question mini-quiz. Getting two right marks the topic complete.
What comes after Combinations with Repetition?
Move on to Binomial Coefficients next.
Related expert topics in Discrete Math & Number Theory
- Strong Induction – Assume all earlier cases to prove the next.
- Well-Ordering Principle – Every nonempty set of positive integers has a least element.
- Partial Orders – Reflexive, antisymmetric, transitive relations.
- Cardinality of Sets – Comparing sizes of infinite sets.
- Countable and Uncountable Sets – ℕ and ℚ are countable; ℝ is not.
- Cantor’s Diagonal Argument – Proof that real numbers are uncountable.