Combination Calculator
Enter n and r to count the ways to choose r items from n when order does not matter.
Repetition
Whether the same item may be chosen more than once.
A whole number from 0 to 1000.
A whole number from 0 to 1000.
Try
Result
You entered
Permutations (order matters)
Show the work
Combinations with repetition (stars and bars)
Choosing items from kinds with repeats allowed is the same as placing stars among dividers, which is a choice of positions from . Here and .
Using
Result
So there are ways to choose items from kinds when repeats are allowed.