Fifty-Fifty

A bag contains n marbles, some of which are red, the rest of which are white. If you were to draw two marbles (without replacement) from the bag, you'd be just as likely to get different-colored marbles as you would be to get marbles that were the same color. What is the largest possible value of n strictly less than 1000?


The answer is 961.

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.

3 solutions

Patrick Corn
Jan 14, 2014

Suppose there are a a red marbles and b b white marbles. The number of ways to draw two different-colored marbles is a b + b a = 2 a b ab + ba = 2ab . The number of ways to draw two same-colored marbles is a ( a 1 ) + b ( b 1 ) a(a-1) + b(b-1) . Setting these equal and moving some terms around, we get ( a b ) 2 = a + b (a-b)^2 = a+b . So a + b a+b , the number of marbles, has to be a square. The largest square less than 1000 1000 is 961 \fbox{961} . It's not hard to check that a = 496 , b = 465 a =496, b=465 satisfies the conditions of the problem.

Nice! Not only does the number of marbles have to be a square, but there's something else you can say about the number of marbles of each color...

Matt Enlow - 7 years, 4 months ago

Log in to reply

Right, the difference in the number of marbles of each color equals the sqrt of n (which is always integer as n must be the sqr of an integer). Btw, with n=4, the condition is satisfied with 3 and 1 marbles of each. Btw2, also 1 (=1^2) marble satisfies the condition, as chance to get 2 different or 2 same color is both 0 then...

Wouter Dobbelaere - 7 months, 1 week ago

The problem could have just asked for the largest square less than 1000, then.

Sara Flint - 5 years, 4 months ago

Log in to reply

But then you would just get your calculator out and give the answer, and that would just be boring

Stephan Cooper - 5 years ago
Avraam Aneleitos
Jan 7, 2015

Let r r be the number of red marbles.Then the number of white marbles is n r n-r .The number of ways we can draw two marbles of the same color is r ( r 1 ) + ( n r ) ( n r 1 ) r(r-1)+(n-r)(n-r-1) while the number of ways we can draw two marbles of different color is r ( n r ) + ( n r ) r r(n-r)+(n-r)r .These numbers have to be equal for the probability to be the same so we have r ( r 1 ) + n ( n 1 ) = 2 r ( n r ) 4 r 2 4 n r + n 2 n = 0 r(r-1)+n(n-1)=2r(n-r) \Leftrightarrow 4r^2-4nr+n^2-n=0 .Solving for r we get r = n n 2 r=\frac{n-\sqrt{n}}{2} or r = n + n 2 r=\frac{n+\sqrt{n}}{2} .Since r r is an integer n n must be a perfect square.The largest perfect square less than 1000 is 961.Substituting in our last equations to check if the solutions are integral we get r = 465 r=465 and r = 496 r=496 so the number of white marbles is respectively 496 and 465.

Laurent Shorts
Apr 21, 2016

For any n n square, there is a solution with a = n n 2 a=\frac{n-\sqrt{n}}{2} and b = n + n 2 b=\frac{n+\sqrt{n}}{2} . It's easy to check they're always an integer, and that they are between 0 0 and n n .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...