A group of aliens have crash landed on Earth to come and try to invade Earth. They come on a serious set of rules from the king that they may only colonise it if they fail a deadly test involving their powerful drugged candies. They are supposed to test the most intelligent of all the humans, but since they landed in a remote part of land, you and your 3 friends are the only people around. You, being the most intelligent are taken away and led into a secure laboratory.
The test:
The question: What are your best chances of survival? If the answer can be written as B A where A and B are coprime positive integers, submit your answer as A + B .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Obviously, the best strategy would be to put singular green candies in some jars, and multiple green ones in the jar containing the orange candy.
We first find out the probability for all the jars singularly filled with a candy.
P(Survival) = 9/10
Then we put one more green candy in the orange candy jar,
P(Survival) = 8/9 + (1/9)×(1/2)=17/18
Which is better.
We also notice that P(Survival) for all the candies in one jar is also 9/10, thus the P first increased and then decreased back to the same value, which gives us a hint that the max probability would be when half (nearly half) of the green candies are in jars (singularly), and the other half in the orange candy jar. Thus,
P(Max survival) = 5/6 + (1/6)×(4/5) = 29/30.
Exactly the solution I used!
Let the probability of being poisoned be q . Then the probability of surviving is p = 1 − q . Now considering putting one candy in each of the 10 jars, then q = 1 0 1 . If we remove a jar and put a green candy with the poisonous orange candy, then q = 9 1 × 2 1 = 1 8 1 , where 9 1 is the probability of choosing the jar containing the green and orange candies and 2 1 is the probability of choosing the orange candy from the two candies. We note that q is greatly reduce. If now we remove one more jar and put two green candies with the orange candy, then q = 8 1 × 3 1 = 2 4 1 . Again q is reduced.
If we let the number of jar be n , then the mortality probability is given by:
q n = n 1 × 1 1 − n 1 = n ( 1 1 − n ) 1 = 1 1 1 ( n 1 + 1 1 − n 1 )
By AM-GM inequality q n ≥ 1 1 n ( 1 1 − n ) 2 and equality occurs or q n is minimum when n = 5 . 5 . For integer n , minimum mortality probability is q 5 = q 6 = 3 0 1 and the maximum survival probability is p = 1 − 3 0 1 = 3 0 2 9 . Therefore, A + B = 2 9 + 3 0 = 5 9 .
Problem Loading...
Note Loading...
Set Loading...
One jar will contain the orange candy and some number (between 0 and 9) of the greens (we'll call this the bad jar); the remaining greens will be distributed across other jars ("good" jars). Naturally we wish to minimize the odds of choosing the bad jar, which is accomplished by placing one green in each good jar.
Let N be the number of nonempty jars in such a distribution. There is 1 bad jar and N − 1 good jars. Each good jar contains 1 green candy, and the bad jar contains 1 orange candy and 9 − ( N − 1 ) = 1 0 − N green candies for a total of 1 1 − N candies. Thus the odds of choosing the orange candy become ( 1 / N ) ( 1 / ( 1 1 − N ) ) , and the odds of survival are 1 − 1 / ( N ( 1 1 − N ) ) . This quantity is maximized when N ( 1 1 − N ) is maximized, which is when N is 5 or 6, for which the probability is 2 9 / 3 0 , so A + B = 5 9 .