LearnViz Math
Expert ⛓ Discrete Math & Number Theory Topic 35 of 103

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

C(n+k−1, k)

Real-world uses

Common mistake

Using C(n, r), which forbids repeats.

How to learn this

  1. Read the key idea and say it in your own words.
  2. Work through the worked example, then try a similar problem.
  3. 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