0
   

Please help with this word problem

 
 
Reply Wed 9 Nov, 2011 06:29 pm
A pack of Jellybeans contains 7 different flavors: Apricot, Banana, Coconut, Date, Eggplant, Fig, and Grape. You can Eat each flavor individually or come up with some crazy combinations. How many flavor combinations are possible with these 7 flavors alone or mixed? You can use only use one flavor per combination. Example, no ABBC, but ABDEF is good.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 2,268 • Replies: 9
No top replies

 
smcmonagle
 
  1  
Reply Wed 9 Nov, 2011 07:23 pm
@Lindastanich,
good luck
0 Replies
 
engineer
 
  1  
Reply Wed 9 Nov, 2011 07:32 pm
@Lindastanich,
The number of combination of 7 flavors, n at a time is 7!/n!/(7-n)!

1 at a time:= 7
2 at a time= 7*6/2 = 21
3 at a time= 7*6*5/6 = 35
4 at a time= 7*6*5*4/24 = 35
5 at a time = 21
6 at a time = 7
7 at a time= 1

Add them up and you have your answer.
0 Replies
 
markr
 
  2  
Reply Fri 11 Nov, 2011 01:24 am
@Lindastanich,
Now that you know the answer, I'll explain my hint. There are seven flavors. For every combination, each flavor is either included or excluded. So, there are two options for Apricot (in or out), two for Banana, ..., two for Grape. That means there are a total of 2^7=128 combinations. However, one of those combinations consists of no flavors at all. Therefore, the answer is 2^7 - 1 = 127.
raprap
 
  1  
Reply Fri 11 Nov, 2011 06:22 am
@markr,
Neat approach for the solution. I used the method engineer used, summing all the combinations, but yours is much more elegant.

Rap
0 Replies
 
engineer
 
  1  
Reply Fri 11 Nov, 2011 07:33 am
@markr,
Very nice. As Rap said, elegant.
markr
 
  1  
Reply Fri 11 Nov, 2011 03:03 pm
@engineer,
You can also get there by noticing that the nth row of Pascal's triangle (which contains the numbers you gave) sums to 2^n.
raprap
 
  1  
Reply Sat 12 Nov, 2011 02:41 pm
@markr,
That kind of falls out if you take the (a+b)^n that is used to develop Pascal's triagl and assign a=b=1, s.t. (a+b)^n=(1+1)^n.

Rap
0 Replies
 
engineer
 
  1  
Reply Sun 13 Nov, 2011 01:35 pm
@markr,
I know that one in advance but thought that the person wouldn't understand it. Did you see the binary solution ahead of time or notice the answer was 127 and then see the correlation?
markr
 
  1  
Reply Sun 13 Nov, 2011 01:44 pm
@engineer,
You're probably right. She doesn't seem to make any attempt to solve these problems. That'll bite her on the tests. I was already familiar with that method of "counting."
0 Replies
 
 

Related Topics

Amount of Time - Question by Randy Dandy
Statistics - Question by ekkline
Math of infinity - Discussion by dalehileman
Probability Question. - Discussion by babemomlover
Do I make the mistake? - Question by tetupioxi
 
  1. Forums
  2. » Please help with this word problem
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/29/2024 at 09:32:35