Finding the Distribution of Balls in Bins with Limited Capacity

  • Context: Undergrad 
  • Thread starter Thread starter prov_in_stl
  • Start date Start date
  • Tags Tags
    Balls Bin
Click For Summary
SUMMARY

The discussion focuses on calculating the distribution of 15 balls across 8 bins, where each bin has a maximum capacity of 4 balls. The primary challenge is to determine the total number of distributions that satisfy these constraints. The user seeks a simplified formula to count the occurrences of each integer between 1 and 4 in these combinations. The solution involves combinatorial mathematics, specifically the application of the stars and bars theorem and generating functions to find valid distributions.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with the stars and bars theorem
  • Knowledge of generating functions
  • Basic concepts of integer partitions
NEXT STEPS
  • Research the stars and bars theorem for combinatorial distribution problems
  • Explore generating functions for counting integer partitions
  • Learn about integer programming techniques for constrained distributions
  • Study examples of bin packing problems in combinatorial optimization
USEFUL FOR

Mathematicians, computer scientists, and anyone involved in combinatorial optimization or distribution problems in operations research.

prov_in_stl
Messages
2
Reaction score
0
I have a 15 balls and 8 bins. Each bin can only hold 4 balls. If throw the 15 balls in the bins (random) and all the balls land in the bins, how do i find the distribution of balls/bin. eg. #4 bins with 3 balls, #1 bin with 1 ball etc.

Thanks!
 
Last edited:
Physics news on Phys.org
You will need to find the total number of ways that you can have 8 numbers, each at least 1, none larger than 4, that add to 15.
 
Yes. I should have mentioned that I figure that part out but was wondering if there was a simplified formula to do the same? Because, I would also have to be able to count the number of times each integer between 1 and 4 occurs in the this combination.

Any help would be appreciated.
 

Similar threads

  • · Replies 37 ·
2
Replies
37
Views
5K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 28 ·
Replies
28
Views
14K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K