Suppose you are trying to get rid of your leftover Halloween chocolate. You decide to...
Noelanijd
Answered
2022-07-16
Suppose you are trying to get rid of your leftover Halloween chocolate. You decide to make individualized gift bags to give to your lecturers. You have 4 different types of chocolate to choose from. How many unique gift bags can you create with 10 items per bag such that each bag has at least one of each type of chocolate.
Answer & Explanation
kuglatid4
Expert
2022-07-17Added 12 answers
Step 1 You’re looking for the number of solutions in positive integers to the equation . Step 2 This is a standard stars-and-bars problem; the linked article gives you both a formula and a decent explanation and derivation of that formula.
Ibrahim Rosales
Expert
2022-07-18Added 7 answers
Step 1 Assuming we have an infinite repetition number of each type of chocolate or at least 7 pieces of each type of chocolate, then this amounts to the number of positive integral solutions to the equation
where for each . We make the substitution for each . Step 2 This gives us the equation
where for each . The number of non-negative integral solutions to this equation is .