Math Problem: pizza topping combinations
One of my favorite commercials is an old ad for Little Caesar’s pizza.
They were offering a deal for ordering 2 pizzas, with up to 5 toppings on each.
The commercial emphasized how customers could order pizzas in many different possibilities.
The question is: exactly how many distinct ways are there to order toppings on a pair of pizzas? You’ll need to know there are 11 possible topping choices.
Below is a link to the commercial which also contains the answer Little Caesar’s came up with.
One thing to keep in mind: the answer in the commercial is wrong!
Video: Little Caesar’s pizza math
Transcript of commercial:
Guy: So what’s this new deal?
Employee: Two pizzas.
Guy: Two pizzas! Write that down.
Employee: And on the two pizzas choose any topping up to five.
Kid: Do you…
Employee: …have to pick the same topping on each pizza. No!
Math Kid: Then the possibilities are endless.
Guy: What do you mean? Five plus five are ten.
Math Kid: Actually, there are 1,048,576 possibilities.
Guy: Ten was just a ballpark figure.
Old Guy: You got that right.
Narrator: Little Caesar’s favorite five – not one, but two pizzas – choice of five toppings – $7.98 – pizza, pizza.
Beware: the math in the commercial is wrong!
I sensed you could get a lot of possibilities when picking 5 toppings out of 11 choices. So how did they get the number of over a millions ways?
The calculation is based on the following logic. The person added up the number of ways you could order a single pizza with up to 5 toppings out of 11. You need to add up the number of ways to order the pizza with 0 toppings, 1 toppings, 2 toppings, 3 toppings, 4 toppings, and 5 toppings.
The way to calculate this is to add up the number of combinations as follows:
![]()
This means one pizza can be ordered in 1,024 ways. Similarly, the other pizza could be ordered in that many ways too.
The calculation in the commercial is based on multiplying 1,024 by 1,024 to get 1,048,576.
This seems like proper logic until you think about it more carefully. The problem is the above calculation treats each pizza individually instead of considering them as a pair.
That is, imagine one person ordered a cheese pizza and a pepperoni pizza, and another person ordered a pepperoni pizza and a cheese pizza. These are clearly identical orders as each person gets one cheese and one pepperoni pizza. But the formula above would double count this as two orders–it would count (cheese, pepperoni) and (pepperoni, cheese) as distinct ways of ordering the pair of pizzas.
The formula must be corrected to get the right number. This leads to the first question.
Question 1: How many distinct ways are there to order a pair of pizzas, with up to 5 toppings out of 11?
Until this point I have excluded another issue in ordering pizza. In deals like this, it is usually not allowed to order double toppings.
But for the sake of argument, let us assume that you can order double toppings so you can load up on your favorite flavors. How does this change the number of ways to order?
Question 2: How many ways are there, if double toppings are allowed?
A note to clarify: A double topping counts as two. So if you order double pepperoni, you can only get up to three more toppings.
As I have been doing lately, I will post my answer in a few days so you can have some time to figure out the answer.
If you do get the solution early, feel free to post your numerical answers (but not the solution method) and how long it took you.
Update 5-3-11: my solution posted below
Share this post:
Previous post: A game theory problem that puzzled Marilyn vos Savant
Next post: Why reserved parking for employee of the month can be a bad idea






Pingback: Denny’s math commercial - Mind Your Decisions