There are 100 marbles in a bag. Each marble is one of three different colors. If you were to reach into the bag and select three of the marbles at random, the probability that you would get one of each color is 20%. How many of each color are there?
If the number of marbles of each color are a , b , and c , with a < b < c , enter the value of a b + c as your answer.
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.
That lemma could've come in handy for me for sure! I had to test so many cases that I spent an hour for this not so difficult problem. Nice job @Matt Enlow
I also got the same equations as Matt Enlow above: { a + b + c = 1 0 0 a b c = 3 2 3 4 0 And I also gathered that exactly one of a , b , c is divisible by 11, because 32340 is divisible by 11, but not divisible by 1 1 2 . Let 0 < q < 1 0 0 denote the value of one of the solutions of a , b , c , then the other 2 roots of a , b , c satisfy { A + B = 1 0 0 − q A B = 3 2 3 4 0 / q Vieta's formula tells us that there exists distinct integer roots (in X ) for X 2 − ( 1 0 0 − q ) X + q 3 2 3 4 0 = 0 and its (quadratic) discriminant is strictly positive, ( 1 0 0 − q ) 2 − 4 ⋅ q 3 2 3 4 0 > 0 ⇒ q ( 1 0 0 − q ) 2 > 1 2 9 3 6 0 ⇒ 2 1 ⩽ q ⩽ 4 8
Earlier, we have established that exactly one of the values of a , b , c is divisible by 11. So we just need to test for the case where q = 2 2 , 3 3 , 4 4 .
Case 1: q = 2 2 , then 2 of the positive integer roots of { a + b + c = 1 0 0 a b c = 3 2 3 4 0 satisfy X 2 − ( 1 0 0 − 2 2 ) X + 2 2 3 2 3 4 0 = 0 . But this yields no solution.
Case 2: q = 3 3 , then 2 of the positive integer roots of { a + b + c = 1 0 0 a b c = 3 2 3 4 0 satisfy X 2 − ( 1 0 0 − 3 3 ) X + 3 3 3 2 3 4 0 = 0 . But this yields no solution either.
Case 3: q = 4 4 , then 2 of the positive integer roots of { a + b + c = 1 0 0 a b c = 3 2 3 4 0 satisfy X 2 − ( 1 0 0 − 4 4 ) X + 4 4 3 2 3 4 0 = 0 . Solving this gives the other two roots of 21 and 35.
Hence, ( a , b , c ) = ( 2 1 , 3 5 , 4 4 ) ⇒ a b + c = 7 7 9 .
P(getting 1 colour each)
= 3! x (a/100) x (b/99) x (c/98)
= 6abc / (100 x 99 x 98)
= 1/5
abc = 2² x 3 x 5 x 7² x 11
Playing the combinations around a + b + c = 100 from the factors listed in abc = 2² x 3 x 5 x 7² x 11 , we get
a = 21
b = 35
c = 44
for an answer of 21 x 35 + 44 = 779
Problem Loading...
Note Loading...
Set Loading...
We can let a , b , and c be the numbers of balls of each of the three colors. So we know that a + b + c = 1 0 0 . The probability of drawing one marble of each color if you draw three marbles at once is ( 3 a + b + c ) ( 1 a ) ( 1 b ) ( 1 c ) = ( 3 1 0 0 ) a b c , which we know is equal to 20%, or 5 1 . From this we can deduce that a b c = 5 1 ( 3 1 0 0 ) = 3 2 3 4 0 . These two constraints, along with the fact that a , b , and c are positive integers, are sufficient to solve the problem.
We want to find a way to split 32340 into three factors that add to 100. We start by finding the prime factorization of 32340: 3 2 3 4 0 = 2 2 × 3 × 5 × 7 2 × 1 1 Before we go any further, let's establish a handy lemma, the proof of which is left to the reader: The system x + y = S ; x y = P , where S , P ∈ R , has a real-valued solution if, and only if, S 2 ≥ 4 P . The two 7's are either part of the same factor, or of different factors. Suppose they're together. That makes their factor either 49 or 98. But 98 is clearly too large, so it would have to be 49. That would mean that the other two factors sum to 1 0 0 − 4 9 = 5 1 , and multiply to 4 9 3 2 3 4 0 = 6 6 0 . But 5 1 2 < 4 × 6 6 0 , so according to our Lemma, this cannot happen. Therefore the two 7's must be in different factors .
If the 11 were together with one of the 7's, that would make one of the factors 77. Then the other two factors would have to sum to 1 0 0 − 7 7 = 2 3 and multiply to 7 7 3 2 3 4 0 = 4 2 0 . But once again, since 2 3 2 < 4 × 4 2 0 , our Lemma tells us that is not possible. So the 11 is not with either 7 .
Now we can write the three factors, without loss of generality, as a = 7 x , b = 7 y , and c = 1 1 z for some positive integers x , y , and z . This tells us that 7 x + 7 y + 1 1 z = 1 0 0 , or 7 ( x + y ) + 1 1 z = 1 0 0 . Solving this linear Diophantine equation gives x + y = 8 − 1 1 n and z = 4 + 7 n for any integer n , but the only value of n that yields positive values for both x + y and z is n = 0 . Therefore x + y = 8 and z = 4 . Since x , y , and z must be made from factors of 2 2 , 3 , and 5 , this gives (without loss of generality) z = 4 , x = 3 , and y = 5 . And therefore, a = 2 1 , b = 3 5 , and c = 4 4 .
Since a < b < c , we have a b + c = 7 7 9 .