Maths WorkshopMaths problems with full solutions
Exercise 441Combinatorics › Counting principlesHigh schoolAdded 3 Nov 2026

Choosing with repetition

#stars and bars#repetition#combinations

Statement

How many ways can we choose 33 items from 55 types with repetition allowed?

Hint

(3+5−13)=(73)\binom{3+5-1}{3}=\binom{7}{3}.

Show solutionHide solution

Solution

Formula. (n+k−1k)\binom{n+k-1}{k} with n=5n=5 types, k=3k=3 items: (73)=35\binom{7}{3}=35.

Conclusion. There are 3535 multisets of size 33 from a 55-set.