Let's say you want to figure out how many ways you can arrange 5 balls into 4 containers.
You can also have empty containers. So, for example, you could have all the balls in one container and 3 empty ones.
How would you do this? I can draw a diagram showing it but I want to do it with an equation.
You can also have empty containers. So, for example, you could have all the balls in one container and 3 empty ones.
How would you do this? I can draw a diagram showing it but I want to do it with an equation.
-
balls [ B] are same, containers [C] are distinct.
this is a "stars and bars" type q with formula
C(B+C-1, C-1) = C(5+4-1,4-1) = C(8,3) = 56
for derivation of the formula , see
http://jhyun95.hubpages.com/hub/Stars-an…
this is a "stars and bars" type q with formula
C(B+C-1, C-1) = C(5+4-1,4-1) = C(8,3) = 56
for derivation of the formula , see
http://jhyun95.hubpages.com/hub/Stars-an…
-
Should be 80 but im not sure haha sorry