Henry's Hamburger Haven offers its hamburgers with the following condiments: ketchup, mustard, mayonnaise, tomato, lettuce, pickles, cheese, and onions. A customer can choose one, two,or three meat patties and any collection of condiments. How many different kinds of hamburgers can be ordered?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
For each of the 8 condiments you just say yes or no, giving 2 to the 8th = 256 choices. Multiply by 3 patty choices.
Solution
A hamburger is decided by two separate choices: the condiments and the number of patties.
1. Condiments. Go through the condiments one at a time and decide yes or no for each. That is choices, times:
This includes the plain burger with no condiments, which "any collection" allows.
2. Patties. One, two or three: choices.
3. Every condiment choice can go with every patty choice, so multiply:
The answer is .
Why this works
"Any collection" of items means you decide in or out for each one, which gives possibilities. Separate choices multiply. The order in which condiments go on the burger is not being asked about, so factorials do not belong here.
The trap
Using 8! = 40320, as if the order of the condiments mattered, choice (D).
Concise solution
A hamburger is specified by two independent decisions.
Condiments: for each of the condiments the customer decides yes or no, so there are possible collections (including the empty one).
Patties: options.
By the multiplication principle the number of hamburgers is .
The answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 1: Counting Is Arithmetic
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques
- Introduction to Counting & Probability, Chapter 4: Committees and Combinations
Techniques
Set up the equation/formula and compute; no special trick needed