Today, I extract one of the thorns from my blogging side, so with out further ado…
Have you ever wondered how many possible combinations of Subway sandwiches there are? To answer that question you must first answer the timeless question of “What is a sandwich?” and “What makes a sandwich distinct from another sandwich?” For example, does adding tomatoes to a simple ham and cheese sandwich qualify it to be intrinsically different? If tomatoes do, what about lettuce, that green, virtually tasteless, paper-shredded topping of mostly water? Is there a ranking among the toppings? What about temperature? Surly a sandwich isn’t a Tuna Melt if it hasn’t been heated.
Obviously there are deep philosophical questions here.
I used to work near a Subway store. I probably ate there three to four times a week. Usually just getting the daily specials, or figuring out ways to save some money, like the hidden vegetarian sandwich. I got to know the workers by name and all was bright and happy, until they took away the stamps. But this post isn’t about the demise of a wonderful incentive program, this is about math and numbers.
What would be a close approximation for the number of combinations of sandwiches at your neighborhood Subway?
So not to beat around the bush any longer:
There are 682,518,380,544 combinations at my local Subway store.
In case you are going to write out a check and send it to me that number is: six hundred and eighty-two billion, five hundred and eighteen million, three hundred and eighty thousand, five hundred and forty-four!
The equation used is:
b * c * s * m * t * p = Number of Combinations
Where:
b = breads, c = cheeses, s = sauces, m = meats, t = toppings, p = spices
or more specifically (see Table 1):
b = 6
c = (6 Choose 1) + 1 = 7
s = (12 Choose 3) + 1 = 221
m = (16 Choose 3) + 1 = 561
t = ∑ (13 Choose xi) = 8192, where m = 0, n = 13, assuming capital sigma notation.
p = ∑ (4 Choose xi) = 16, where m = 0, n = 4, assuming capital sigma notation.
Note: The “Choose” function here is a probability function (nCr) that chooses “r” items from “n” choices.
The “+1” on c, s, and m is just taking into account the fact that some one could choose NO cheese, sauce, or meat respectively. “t” and “m” don’t need the “+1” because that is taken into account by setting m = 0, since (X Choose 0) will always equal 1.
So this calculation also places some limits on how big the sandwich can be. No sandwich can have more than 3 types of meat, and 3 types of sauces. A sandwich must have some kind of bread (Sorry Dr. Atkins), and only 1 kind of cheese. A sandwich can go nuts with the toppings and spices though.
| Table 1 |
| Breads |
Cheeses |
Sauces |
| Italian |
American |
Mayonnaise |
| Wheat |
Swiss |
Mustard |
| Monterey Cheddar |
Provolone |
Deli (Spicy) Mustard |
| Italian Herbs & Cheese |
Pepper Jack |
Sweet Onion Sauce |
| Honey Oat |
Cheddar (Shredded) |
Chipotle Sauce |
| Tortilla Wrap |
Parmesan Cheese |
Honey Mustard Sause |
| |
| Red Wind Vinaigrette |
| BBQ Sauce |
| Ranch Dressing |
| Roasted Garlic Sauce |
| Olive Oil |
| Vinegar |
| Meats |
Toppings |
Spices |
| Roast Beef |
Lettuce |
Salt |
| Turkey |
Cucumbers |
Pepper |
| Chicken (Strips) |
Tomatoes |
Oregano |
| Ham |
Pickles |
Chili Powder |
| Salami |
Green Peppers |
|
| Pepperoni |
Black Olives |
| Tuna |
Carrots |
| Bacon |
Jalapeño Peppers |
| Roasted Chicken |
Yellow (Banana) Peppers |
| Chicken Teriyaki |
Onion |
| Steak |
Avocado |
| Meat Balls |
Spinach |
| Pastrami |
Grilled Peppers & Onions (because they have red peppers in the mix) |
| Seafood |
|
| Veggie Patty |
|
| Cold-Cut (3 meats mixed together) |
|
Recent Comments
Pierre- Install the Nokia plugin package for iSync 2.3. T...
My MetaClasses.plist file looks like this: <?xml versi...
I'm using iSync 2.4 as well. Um. Let me check out my files a...
HI, I just tried to sync my nokia 6086 following the indica...