Using combination, there are 1932 arrangments possible.
A combination is a mathematical approach that counts the number of potential configurations in a box containing objects, regardless of their order.
In combinations, we can select items in any order. In combinations, the order doesn’t matter.
The combination formula of given as: n! / r!(n-r)!
Each candy would be distributed in three different ways if there were no limits on how many candies might fit in a bag. 3⁷ different ways to distribute the sweets in this scenario. However, only empty blue and red bags count in this scenario.
There are 2⁷ methods to distribute candy if the red bag is left empty.
Similarly, for the blue bag.
Hence there are 2⁷ +2⁷ – 1 ways to distribute candy such that either blue or red bag is empty.
The total amount of circumstances and ways to deliver the sweets
= 3⁷ – (2⁷ + 2⁷ -1)
= 1932
Therefore, there are a total of 1932 arrangements possible.
Learn more about combination here:
brainly.com/question/11732255
#SPJ4