Hello. I've been trying to solve these two problems for days now and it obviously didn't work out . All the help I found online so far was related to a theorem called stars and bars which seems to work. It felt weird to me because we haven't learned about it in class so I went to ask my professor if it's okay for me to use it in solving these problems. All they told me was that I wouldn't get any credit for using it since that's not the point of the problems. They said that the first one is solved by using classic combinatorics and the second one needs to be solved by using a generic function. I couldn't find a way to implement these things in my problems so I would be very grateful if someone would help out. Here are the problems:
1) In how many ways can one divide 10 scarfs, 8 shirts and 9 hats to 4 people? (what I find confusing about this one is that there are no limitations given);
2) How many solutions are there for the equation x1+x2+x3+x4+x5+x6=40 where x1, x2, x3, x4, x5, x6 are odd natural numbers?
I'm sorry if I'm not posting in the right field of this site, it's my first time and this one seemed the closest to my problems.
Thank you in advance. <3
1) In how many ways can one divide 10 scarfs, 8 shirts and 9 hats to 4 people? (what I find confusing about this one is that there are no limitations given);
2) How many solutions are there for the equation x1+x2+x3+x4+x5+x6=40 where x1, x2, x3, x4, x5, x6 are odd natural numbers?
I'm sorry if I'm not posting in the right field of this site, it's my first time and this one seemed the closest to my problems.
Thank you in advance. <3