Stars and Bars Calculator
Enter the number of identical items and boxes to count the ways to share them out.
A whole number from 0 to 1000.
A whole number from 1 to 1000.
Each box
Whether a box is allowed to stay empty.
Try
Result
You entered
Show the work
Give each box one first
If every box must get at least one item, put one item in each of the boxes first. That leaves items to share out with no restriction.
Stars and bars
The remaining items go into boxes with no restriction, so use stars and bars on them: .
Using
Result
So there are ways to share identical items among boxes with at least one in each.