Arranging Balls into Boxes
This simulation shows how many ways r balls can be placed into n boxes?” You can vary the number of balls and boxes. Options include distinguishable or indistinguishable balls, distinguishable or indistinguishable boxes, and whether or not empty boxes are permitted.
Author: Marc Brodie. Open content licensed under CC BY-NC-SA.
View the source code for this simulation