Theorem 8.1.1 · Stars and Bars
The number of ways to place indistinguishable objects into distinguishable bins is
The reason this is true: you can place bars in between the objects. That is the same as having slots and choosing of them for bars:
which is equal to
This general idea is important to understand, because tricky problems will often add extra conditions.