First of all, this is not homework, but merely a curious inquiry. In my province, there is a chain of pizza stores called Pizza 73. This restaurant offers something called a 4-Pak, in which you can choose four types of food from:
- Two-topping pizzas with a choice of 17 toppings, two different crusts, and two different sauces.
- Two different types of chicken wings
- A giant cookie
You can also pick the same thing more than once (e.g., you can pick four cookies).
The chain claims that there are ~3.7 billion different combinations, but they also are open to the possibility that they made an error in their calculations. I am aware that the amount of combinations should be that high, but I’d just like to know what kind of numbers the brilliant minds of the Straight Dope come up with. So, just how many different ways can one choose a 4-Pak?
Btw, I think we can assume that one cannot have zero toppings or two of the same toppings, but one can have only one topping if they desire.