Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts
Log In
Found the internet!
r/theydidthemath
r/theydidthemath
10.6k
Posted by7 hours ago

[Request] - How many combinations of 9 ingredients are possible. Using all 9 at once is not required.

r/theydidthemath - [Request] - How many combinations of 9 ingredients are possible. Using all 9 at once is not required.
458 comments
96% Upvoted
|
level 1
ModModerator Achievement · 7 hr. ago · Stickied comment
General Discussion Thread

This is a [Request] post. If you would like to submit a comment that does not either attempt to answer the question, ask for clarification, or explain why it would be infeasible to answer, you must post your comment as a reply to this one. Top level (directly replying to the OP) comments that do not do one of those things will be removed.


I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

Vote

3 more replies

level 1
· 6 hr. ago
8✓

Each ingredient can either be included or not -- that's 2 possibilities. Multiply out all 9 ingredients and we have 29 = 512 in total. I presume you'd want to exclude the 1 possibility where none of the ingredients are included, so that leaves 511.

1.2k
level 2

Why haven't you touched your pure beans?

791
level 2

The final option is unlocked when we get to the point that there is a cover charge (which reduces your bill) when you walk in... but then you decide nothing appeals to you.

44
level 2

For another way to visualize this, here are the number of combinations for each number of ingredients included.

Ingredient Count# of combinations
Total512
91
89
736
684
5126
4126
384
236
19
01
44
level 2

What if you said the order has to include at least 3 ingredients? Is it just 512 - 9C0-9C1-9C2?

20
level 2

This math is not wrong, but doesn't the premise of the meme require that we consider how any given set of ingredients might be reconfigured to produce a new menu item from the same set of ingredients? E.g. the same 5(?) ingredients that make a burrito could also make a wrap, a soft taco, a quesadilla, etc.

19
level 2

I get the same answer by a different method, so I concur. I also excluded the zero ingredients combo.

4
level 2

Isn't there even more because you are assuming only 2 ingredients are combined.

Wouldn't it be 9! ? Ingredients can be repeated theoretically because extra beans or whatever does change the presentation/recipe.

Edit: 9! = 362,880

9
level 2
Vote
level 2

I calculated it as 9×8×7×6×5×4×3×2×1,and the numbar i got was 362880

-2
level 2
· 4 hr. ago · edited 4 hr. ago

This doesn't factor in alternate cooking/preparation methods. For every combo of ingredients, you could have them served in a bowl, or wrapped, or fried, etc. And they do different styles of wrapping/dough placement, too, like they have quesadillas, 'mexican pizzas,' burritos, tacos, 'crunchwraps,' that all can be different arrangements of the exact same ingredients. They sell "cheesy roll ups" and quesadillas as different menu items when it's the exact same tortilla and cheese just either rolled or cut in wedges.

We need more information.

1
level 2

i think we would have to be combining at least 2 items for each menu item to make this fair. like cheese plus chips for nachos or cheese plus tortilla for quesadilla.

1
level 2

You can use the same 9 ingredients twice, but fold it differently and it becomes a new item.

1
level 2

This also includes situations where you get more than one of the same ingredient. You need to minus them out if its a true count.

1

About Community

And they said math has no real world applications
Created Apr 26, 2013

1.3m

Members

7.1k

Online

Top 1%

Ranked by Size