Combinatorics: Distributing Identical Walls into Multiple Boxes with Constraints

In summary, the conversation involves a request for help with combinatorics, specifically finding an OGF to compute the number of ways 27 identical walls can be distributed into 7 boxes where the first box can contain at most 9 balls. The person asking for help is encouraged to start counting the ways themselves and consider small examples before attempting the larger problem. The conversation also mentions a formula for choosing objects from different types, and the use of generating functions as a useful tool. A recommendation for a combinatorics book is also requested.
  • #1
saint_n
31
0
i need help with combinatorics...i need to finda ogf to compute the how many ways can 27 identical walls be distributed into 7 boxes, where the first box can contain at most 9 balls

How do this??can you give me a method or explain to me how to do this step by step PLEASE!

sAint
 
Mathematics news on Phys.org
  • #2
i think you ought to at least start trying to count the ways of doing this yourself. because that's all you're doing. there is no clever trick necessary, just count them, how many can you put in the first one, how many in the second, and so on. do you count putting no balls in a box as being permissible. think about smaller examples first, say 3 boxes 6 balls, no more than two in the first, or even smaller than that so you get the idea.

just to reiterate, the solution is to just count the ways, and that's something you can do if you don't presume it's beyond your capabilities.
 
  • #3
Imagine the balls were laid out in a straight line. What happens when you insert a wall at some point between 2 of the balls ? Is this at all like putting the balls into boxes ? How many walls do you need, to simulate 2 boxes, or 3, or 4, ...or n ? How many ways are there of inserting these walls ?
 
  • #4
Sorrie haven't replied for a while been kinda busy and sorrie again i thought there was a method because in our notes(which doesn't really help much) he has an example
Suppose choose 25 objects from 7 types of objects s.t. every type of object appears at least twice and at most 6 times..
he wrote some formula
[x^25](x^2 + x^3 +x^4 +x^5 +x^6)^7

so i thought x^25 is the 25 objects and the exponents 2 to 6 is the "at least twice and at most 6 times" and ^7 is the seven types of objects then he did some calculations which i understand and he got 6055.

I just got confused when the question i asked you before because i didnt know how to represent the way he did but I am not sure since you were helping me out could my answer for the prev. question be
[x^27](1 + x + x^2 + ... + x^9)(1 + x + .. + x^27)^6

am i on the rite track?
 
Last edited:
  • #5
btw can you recommend a combinatorics book because he's notes help only a lil plus sometimes he doesn't explain himself properly(by the way we don't have a prescribed textbook) so anything we would be appreciated...
 
  • #6
what you have written there as a polynomial is called a generating function, these are very useful and powerful tools. what is important is the coefficients of the powers of x.

For instance, fix n, then the number of ways of choosing r objects from n (order unimportant) is the coefficient of x^r in the expansion of (1+x)^n
 
  • #7
ok,,so what i have now is correct?Just so i can get started...
 

1. What is combinatorics?

Combinatorics is a branch of mathematics that deals with counting, arranging, and selecting objects or elements in a finite set.

2. What are the basic principles of combinatorics?

The basic principles of combinatorics include the fundamental counting principle, permutations, combinations, and the inclusion-exclusion principle.

3. How is combinatorics used in real life?

Combinatorics has various applications in real life, such as in computer science, statistics, genetics, and cryptography. It is used to solve problems related to counting and arranging objects in different scenarios.

4. What are some common techniques used in combinatorics?

Some common techniques used in combinatorics include the principle of inclusion-exclusion, generating functions, and the pigeonhole principle.

5. Can you provide an example of a combinatorics problem and its solution?

One example of a combinatorics problem could be: In how many ways can a committee of 3 people be formed from a group of 6 members? The solution would be 6 choose 3, which equals 20. This means there are 20 different combinations of 3 people that can be chosen from the group of 6.

Similar threads

Replies
2
Views
626
Replies
1
Views
942
  • Precalculus Mathematics Homework Help
Replies
23
Views
1K
  • Special and General Relativity
Replies
15
Views
465
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
22
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
9
Views
2K
Back
Top