How many different pizzas can be ordered if a pizza can be selected with any combination of the following ingredients: anchovies, ham, mushrooms, olives, onion, pepperoni, and sausage?
Can someone give me a hint to this question.
How many different pizzas can be ordered if a pizza can be selected with any combination of the following ingredients: anchovies, ham, mushrooms, olives, onion, pepperoni, and sausage?
Can someone give me a hint to this question.
Hint: a pizza corresponds to a set of ingredients. How many sets that are subsets of $\{1,2,...,7\}$ exist ? (each number represents an ingredient).
If you don't know how to compute this, here is a hint: For each ingredient you have two choices: put it or not put it (that is the question). So your total number of choices is the combination of all these individual choices.
Don't forget the special case of $\emptyset$ which is counted here, so if you consider that "no topping" is not a valid pizza then you should substract one to the formula.