Front Office Football Central  

Go Back   Front Office Football Central > Main Forums > Off Topic
Register FAQ Members List Calendar Mark Forums Read Statistics

Reply
 
Thread Tools
Old 11-26-2012, 02:19 PM   #1
JonInMiddleGA
Hall Of Famer
 
Join Date: Nov 2000
Location: Behind Enemy Lines in Athens, GA
Math help re: combinations

Okay, I'm smart enough to know when I know just enough to be dangerous, both to myself and those around me. Since this is work related, I'd rather like to get it right so I'm hoping some of the math gurus around the FOFC will help me out.

I've Googled and read more possible methods & examples than I can shake a stick at, I've gone through several passes at this & get a different (quite plausible) answer each time. About the only thing that I think I'm sure about is that the problem/solution involves combinations instead of permutations.

I'll start with the basic question and then add on the bits that make it more complex than the usual example.

Q1) If you have N different ingredients for a pizza, how many different pizza combinations can you make? The groundrules are that, for now, nothing is doubled - it's either on the pizza or not on the pizza.

Is this as simple as 2 to the N power?

(Q1b) If "no toppings at all" is an option, how do I account for that? Simply +1 to the answer above? Or is that possibility already included in the answer to Q1?

(Q2) If we've answered the first two questions, then we add this part: how do I handle double cheese (the only ingredient which can be doubled in this exercise)? I can't just double the answer to Q1 because any pizza that didn't have cheese cannot have double cheese. I'm pretty sure I can't just treat it as an extra ingredient (i.e. N becomes N+1) because it's dependent upon the on/off choice for single cheese. I'm flummoxed on this part for sure.

(Q3) Once I get a solution to the questions above, I have one more task to complete to arrive at the desired final number: how do I handle the various options for Crust + Sauce combos? I think I know the answer to this one: it's the solution for Q2 times the number of different sauce/crust combinations. Makes sense to me, if there was only a single possible combination then the answer is whatever we get for Q2 ... but if there's 2 crusts & 1 sauce (for example) then everything topping combination possible is now possible twice..

Any & all help is appreciated, the goal here is not only get an answer but to understand how it's derived well enough to be able to explain it to several other "non-math" people (their own description). I'm the "math-iest" guy in the bunch unfortunately.

In case someone would prefer to use the actual number instead of just N for the number of possible ingredients ... N = 44 (including cheeses)
__________________
"I lit another cigarette. Unless I specifically inform you to the contrary, I am always lighting another cigarette." - from a novel by Martin Amis


Last edited by JonInMiddleGA : 11-26-2012 at 02:19 PM.
JonInMiddleGA is offline   Reply With Quote
Old 11-26-2012, 02:20 PM   #2
Abe Sargent
Hall Of Famer
 
Join Date: Dec 2001
Location: Catonsville, MD
__________________
Check out my two current weekly Magic columns!

https://www.coolstuffinc.com/a/?action=search&page=1&author[]=Abe%20Sargent
Abe Sargent is offline   Reply With Quote
Old 11-26-2012, 02:21 PM   #3
Izulde
Head Coach
 
Join Date: Sep 2004
Including cheeses? So is there more than one cheese that can be doubled?
__________________
2006 Golden Scribe Nominee
2006 Golden Scribe Winner
Best Non-Sport Dynasty: May Our Reign Be Green and Golden (CK Dynasty)

Rookie Writer of the Year
Dynasty of the Year: May Our Reign Be Green and Golden (CK Dynasty)
Izulde is offline   Reply With Quote
Old 11-26-2012, 02:29 PM   #4
stevew
Hall Of Famer
 
Join Date: Dec 2003
Location: the yo'
http://mathforum.org/library/drmath/view/66561.html

Did you come across this in google?
stevew is offline   Reply With Quote
Old 11-26-2012, 02:32 PM   #5
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
1. Yeah, I'd say 2 to the N power. Each item is a coin flip, basically. No toppings is equivalent to all heads, all topping is all tails.

2. Half of the combinations have cheese. So if 1 is 2 to the N, take half that number, and add it to your orginal answer.

3. Yes.
Passacaglia is offline   Reply With Quote
Old 11-26-2012, 02:33 PM   #6
JonInMiddleGA
Hall Of Famer
 
Join Date: Nov 2000
Location: Behind Enemy Lines in Athens, GA
Quote:
Originally Posted by Izulde View Post
Including cheeses? So is there more than one cheese that can be doubled?

Dammit, you immediately asked the question that I started pondering more deeply after I posted.

Here's the deal in actual numbers:
35 ingredients and 9 cheeses

I added the two things together when I posted thinking "okay, a customer could order anything from a zero cheese to a nine cheese pizza"

Only after I walked away from posting did I realize "oh shit, what if they double more than one of those cheeses?" ... which I don't technically know for sure is even an option.

So basically you now know as much as I know.
__________________
"I lit another cigarette. Unless I specifically inform you to the contrary, I am always lighting another cigarette." - from a novel by Martin Amis
JonInMiddleGA is offline   Reply With Quote
Old 11-26-2012, 02:33 PM   #7
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
For #2, you could also look at it like for each topping, you've got two options (on or off), but for cheese, you have three options (on, off, double). So your answer is 2 to the N-1, times 3.

Or, 2 to the 35th times 3 to the 9th. Assuming cheeses are not part of the 35.

Last edited by Passacaglia : 11-26-2012 at 02:35 PM.
Passacaglia is offline   Reply With Quote
Old 11-26-2012, 02:49 PM   #8
JonInMiddleGA
Hall Of Famer
 
Join Date: Nov 2000
Location: Behind Enemy Lines in Athens, GA
Quote:
Originally Posted by stevew View Post
http://mathforum.org/library/drmath/view/66561.html

Did you come across this in google?

Twice

I seemed to get bogged down (or maybe they got bogged down) in the issue of double or even tripling all ingredients. I wasn't entirely confident that I wasn't getting lost in all that somewhere. Buuuuuut this bit (number of ways to use a single topping) ^ (number of toppings) seems to be a match for my current working guess for basic Q1 being "2 to the N" (since in the most basic form I have only 2 ways: on or off)
__________________
"I lit another cigarette. Unless I specifically inform you to the contrary, I am always lighting another cigarette." - from a novel by Martin Amis
JonInMiddleGA is offline   Reply With Quote
Old 11-26-2012, 02:50 PM   #9
JonInMiddleGA
Hall Of Famer
 
Join Date: Nov 2000
Location: Behind Enemy Lines in Athens, GA
Quote:
Originally Posted by Passacaglia View Post
For #2, you could also look at it like for each topping, you've got two options (on or off), but for cheese, you have three options (on, off, double). So your answer is 2 to the N-1, times 3.

Or, 2 to the 35th times 3 to the 9th. Assuming cheeses are not part of the 35.

Cheeses are not in the 35. That's just veggies & meat (plus tofu).
__________________
"I lit another cigarette. Unless I specifically inform you to the contrary, I am always lighting another cigarette." - from a novel by Martin Amis
JonInMiddleGA is offline   Reply With Quote
Old 11-26-2012, 03:10 PM   #10
britrock88
Pro Starter
 
Join Date: Jan 2011
Location: Madison, WI
Started responding myself, but then read Pass's answers, which are dead on.
britrock88 is offline   Reply With Quote
Old 11-26-2012, 04:46 PM   #11
JonInMiddleGA
Hall Of Famer
 
Join Date: Nov 2000
Location: Behind Enemy Lines in Athens, GA
Okay, so with 2^35 times 3^9 ... I get 6.7630273e+14

But guess what ... that only represents 1 crust type + 1 sauce type.
I've got three crusts & 9 sauces

So for each crust it's 6.7630273e+14 TIMES 9 (to cover the sauces)
And then that number TIMES 3 (to cover the crusts)

Right?

I mean, is this actually possible to comprehend? Hell, is this actually possible?
Over 18 quadrillion combinations possible? Srsly?
__________________
"I lit another cigarette. Unless I specifically inform you to the contrary, I am always lighting another cigarette." - from a novel by Martin Amis
JonInMiddleGA is offline   Reply With Quote
Old 11-26-2012, 06:23 PM   #12
britrock88
Pro Starter
 
Join Date: Jan 2011
Location: Madison, WI
That's the answer. And yeah, the number is stratospheric.

There was a burger chain (Burger King? Wendy's?) that touted the 729 ways to make their burger years ago. That was a simpler matter -- 3 possible amounts of a condiment (none/normal/extra) for 7 condiments (lettuce/tomato/onion/pickle/ketchup/mustard/mayo). So when you compare how many more options you have in terms of crusts and pizza toppings, the magnitude of the number begins to make more sense.
britrock88 is offline   Reply With Quote
Old 11-26-2012, 09:01 PM   #13
Julio Riddols
College Prospect
 
Join Date: Feb 2001
Location: Bryson Shitty, NC
Today I learned there are more pizza combinations available in this problem than there are unique fingerprints in the world.
__________________
Recklessly enthused, stubbornly amused.

FUCK EA
Julio Riddols is offline   Reply With Quote
Old 11-26-2012, 10:02 PM   #14
Buccaneer
Head Coach
 
Join Date: Oct 2000
Location: Colorado
I also learned they eat a lot of pizza in the South.
Buccaneer is offline   Reply With Quote
Old 11-26-2012, 10:17 PM   #15
JonInMiddleGA
Hall Of Famer
 
Join Date: Nov 2000
Location: Behind Enemy Lines in Athens, GA
Quote:
Originally Posted by Buccaneer View Post
I also learned they eat a lot of pizza in the South.

Eh, I wouldn't worry too much. A lot of the combinations are too healthy to be anything anybody would actually eat

Others are even stranger ... such as the pepperoni bacon tofu combo with olive oiil on gluten free crust included in that still-hard-to-image number.
__________________
"I lit another cigarette. Unless I specifically inform you to the contrary, I am always lighting another cigarette." - from a novel by Martin Amis
JonInMiddleGA is offline   Reply With Quote
Old 11-27-2012, 09:00 AM   #16
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
Quote:
Originally Posted by JonInMiddleGA View Post
Okay, so with 2^35 times 3^9 ... I get 6.7630273e+14

But guess what ... that only represents 1 crust type + 1 sauce type.
I've got three crusts & 9 sauces

So for each crust it's 6.7630273e+14 TIMES 9 (to cover the sauces)
And then that number TIMES 3 (to cover the crusts)

Right?

I mean, is this actually possible to comprehend? Hell, is this actually possible?
Over 18 quadrillion combinations possible? Srsly?

Can you have extra sauce? Can you have more than one sauce, or no sauce? Or is it just "choose one of these 9" (as your model indicates)? I'd imagine it's that way with crust, but I get extra sauce all the time.
Passacaglia is offline   Reply With Quote
Old 11-27-2012, 09:55 AM   #17
JonInMiddleGA
Hall Of Famer
 
Join Date: Nov 2000
Location: Behind Enemy Lines in Athens, GA
Quote:
Originally Posted by Passacaglia View Post
Can you have extra sauce? Can you have more than one sauce, or no sauce? Or is it just "choose one of these 9" (as your model indicates)? I'd imagine it's that way with crust, but I get extra sauce all the time.

My instructions did not include any mention of extra sauce.

There's 18 quajillion combinations as it is, do we really need to go down the extra sauce route?
__________________
"I lit another cigarette. Unless I specifically inform you to the contrary, I am always lighting another cigarette." - from a novel by Martin Amis
JonInMiddleGA is offline   Reply With Quote
Old 11-27-2012, 10:03 AM   #18
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
Quote:
Originally Posted by JonInMiddleGA View Post
My instructions did not include any mention of extra sauce.

There's 18 quajillion combinations as it is, do we really need to go down the extra sauce route?

I dunno -- it's your thing, not mine. I didn't even know you had instructions.
Passacaglia is offline   Reply With Quote
Old 11-27-2012, 10:21 AM   #19
JonInMiddleGA
Hall Of Famer
 
Join Date: Nov 2000
Location: Behind Enemy Lines in Athens, GA
Quote:
Originally Posted by Passacaglia View Post
I dunno -- it's your thing, not mine. I didn't even know you had instructions.

I was told -- roughly -- what I was supposed to consider. They're a little shaken by the answer though, they were thinking something in the millions.
__________________
"I lit another cigarette. Unless I specifically inform you to the contrary, I am always lighting another cigarette." - from a novel by Martin Amis
JonInMiddleGA is offline   Reply With Quote
Old 11-27-2012, 10:57 AM   #20
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
Yeah, if it's work-related, i.e. something that would be in an ad, the number is too silly to have any meaning, I'd think.
Passacaglia is offline   Reply With Quote
Old 11-27-2012, 10:58 AM   #21
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
Maybe they could compare their number to a corresponding number for other pizza places?
Passacaglia is offline   Reply With Quote
Old 11-27-2012, 12:32 PM   #22
JonInMiddleGA
Hall Of Famer
 
Join Date: Nov 2000
Location: Behind Enemy Lines in Athens, GA
Quote:
Originally Posted by Passacaglia View Post
Yeah, if it's work-related, i.e. something that would be in an ad, the number is too silly to have any meaning, I'd think.

We shall see where they go with it. I did my part, provided the number. I'll let the left-brainers play with it for a while.

It really does feel to me like a number too big for people to get their heads around (or believe is actually real rather than just some b.s. number).

If/when they settle on something (and the client - hopefully - approves) I'll definitely share back here. Probably be February'ish if my guess is right.
__________________
"I lit another cigarette. Unless I specifically inform you to the contrary, I am always lighting another cigarette." - from a novel by Martin Amis
JonInMiddleGA is offline   Reply With Quote
Old 11-27-2012, 12:50 PM   #23
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
Wait, there's left-brainers involved, and they're not the people calculating the number?
Passacaglia is offline   Reply With Quote
Old 11-27-2012, 01:21 PM   #24
JonInMiddleGA
Hall Of Famer
 
Join Date: Nov 2000
Location: Behind Enemy Lines in Athens, GA
Quote:
Originally Posted by Passacaglia View Post
Wait, there's left-brainers involved, and they're not the people calculating the number?

Shit. I said it backwards. They're complete right-brains, I'm what passes for a left-brain in this configuration.
__________________
"I lit another cigarette. Unless I specifically inform you to the contrary, I am always lighting another cigarette." - from a novel by Martin Amis
JonInMiddleGA is offline   Reply With Quote
Old 11-27-2012, 03:36 PM   #25
ozias
High School JV
 
Join Date: Oct 2000
Location: Maine
The only combination that matters is what I want on the pizza when I order it.
ozias is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT -5. The time now is 11:18 AM.



Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.