Generating Functions · Generating Functions
Lesson 11
Problem. How many ways are there to buy \(n\) fruits such that the following restrictions are met?
- The number of apples must be even.
- The number of bananas must be divisible by five.
- There must be no more than four oranges.
- There must be no more than one pear.
5 points