wu :: forums (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi)
riddles >> medium >> Game Of 100 Cups
(Message started by: Padfoot on Mar 14th, 2007, 6:30pm)

Title: Game Of 100 Cups
Post by Padfoot on Mar 14th, 2007, 6:30pm
Your friend has chalanged you to the folowing game:

He has layed out 100 colored cups onto a table and has hid a very rare diamond under one of them.  For every cup you take off the table, you must pay him an amout of money progresivly going up by $100 (The first move costs $100, second costs $200, third move costs $300 etc).

When the diamond is found, the amount of money that the moves cost is totaled up, and you pay him that amount.  The diamond is now yours to keep.

How much must this diamond be worth in order for you to be willing to play?

Title: Re: Game Of 100 Cups
Post by towr on Mar 15th, 2007, 2:06am
quick guess: [hide]171700[/hide]

Title: Re: Game Of 100 Cups
Post by Aryabhatta on Mar 15th, 2007, 9:26am
My guess: [hide] > 127500 [/hide]

Title: Re: Game Of 100 Cups
Post by Barukh on Mar 15th, 2007, 10:46am
I agree with [hide]    towr     [/hide].

Title: Re: Game Of 100 Cups
Post by Aryabhatta on Mar 15th, 2007, 10:47am

on 03/15/07 at 10:46:05, Barukh wrote:
I agree with [hide]    towr     [/hide].


lol!
You don't need to hide the name... his answer is already hidden.  :P

Title: Re: Game Of 100 Cups
Post by tiber13 on Mar 15th, 2007, 11:21am
it would have to be $100! + $0.01 at least so i could have ANY profit. ^_^

Title: Re: Game Of 100 Cups
Post by Padfoot on Mar 15th, 2007, 2:33pm
Isn't it strange that there is an equal chance of finding the diamond on any of your guesses.  I know of many people that would say it is very unlikely to get it on the first guess, when it is more likely to find it on, say the 70th guess.

Title: Re: Game Of 100 Cups
Post by towr on Mar 15th, 2007, 2:50pm

on 03/15/07 at 14:33:58, Padfoot wrote:
Isn't it strange that there is an equal chance of finding the diamond on any of your guesses.  I know of many people that would say it is very unlikely to get it on the first guess, when it is more likely to find it on, say the 70th guess.
Yes, some people are strange. It is more likely to find it on a later guess, but not on a specific later guess (which is equally likely to the first).
It the same way people think HTTHTHHT is mor elikely than HHHHHHHH when you flip a coin 8 times. But what they're actually thinking is "a sequence like the first is more likely than a sequence like the second". The specific sequences in question are of course equally likely (for a fair coin).

Title: Re: Game Of 100 Cups
Post by Grimbal on Mar 16th, 2007, 2:41am
I [hide] also agree [/hide] with towr.

Anyway you can improve the odds by realizing that there are considerable more chances to find it among the first 10 cups than to find it in any other single cup.

So, by being less greedy and concentrating your hope not on each cup as you lift it but on the group of the first 10 you can improve your chances of finding it there, and have a good chance of avoid the 90 more expensive cups.

But then, you still can be unlucky...

PS:  ;)

Title: Re: Game Of 100 Cups
Post by Aryabhatta on Mar 16th, 2007, 9:24am

on 03/16/07 at 02:41:36, Grimbal wrote:
I [hide] also agree [/hide] with towr.


PS:  ;)


Lol!
You don't need to hide it. We know you always agree with towr  :P ;D ::)

Title: Re: Game Of 100 Cups
Post by Barukh on Mar 16th, 2007, 10:18am

on 03/16/07 at 09:24:43, Aryabhatta wrote:
Lol!
You don't need to hide it. We know you always agree with towr  :P ;D ::)

Do you agree with towr, then?  ;D

Title: Re: Game Of 100 Cups
Post by Grimbal on Mar 16th, 2007, 1:45pm
It is towr who would agree with me if I were faster to reply.

Title: Re: Game Of 100 Cups
Post by Aryabhatta on Mar 16th, 2007, 1:57pm

on 03/16/07 at 13:45:20, Grimbal wrote:
It is towr who would agree with me if I were faster to reply.


Hard to do that isn't it? I don't think towr is human.  ;)

Title: Re: Game Of 100 Cups
Post by irrational on Mar 16th, 2007, 3:06pm
Can anyone  please explain the math behind this.


:-[ :-[

Title: Re: Game Of 100 Cups
Post by towr on Mar 17th, 2007, 3:12am

on 03/16/07 at 15:06:03, irrational wrote:
Can anyone  please explain the math behind this.

Each cup is equally likely to have the diamond under it. But to get to the Kth cup, you have to open the previous K-1 cups as well, so you have to add all those costs.
So the cost of opening the Kth cup is 100 + 200 + 300 + ... + K*100, that is to say K*(K+1)/2 * 100 (100 times the Kth triangular number)

Now we know the cost of each cup, and we knew the probability (1/100), so we can get the expected cost:
sum of K=1 to 100 over (K*(K+1)/2 * 100) * (1/100)
=
sum of K=1 to 100 over K*(K+1)/2
=
171700

Title: Re: Game Of 100 Cups
Post by Grimbal on Mar 17th, 2007, 4:24am
I was about to say that.  ::)

Well, actually my idea was that you take
cup 1: 100/100 times for $100
cup 2: 99/100 times for $200
cup 3: 98/100 times for $300

This gives sumk=1..100 (101-k)·k = 171700.

But if I were to play the game, I would try the first cup and stop if it didn't show the diamond.

Title: Re: Game Of 100 Cups
Post by towr on Mar 17th, 2007, 4:37am

on 03/17/07 at 04:24:29, Grimbal wrote:
But if I were to play the game, I would try the first cup and stop if it didn't show the diamond.
It'd still have to be worth more than 10000 to give a positive expectation. Of course that's less than 1/17th it should be worth if you keep playing till you have it.

Title: Re: Game Of 100 Cups
Post by ThudanBlunder on Mar 17th, 2007, 5:42am
k
For the sake of completeness http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/sum.gifr(r + 1)/2 = k(k + 1)(k + 2)/6
r=1

                                                                                         

Title: Re: Game Of 100 Cups
Post by Aryabhatta on Mar 17th, 2007, 11:24am
The reasoning for my guess:

If you pick 50 random cups, the probability that the diamond is in one of them is 1/2.

Thus if the cost of the diamond is more than the cost of checking 50 cups, I will play.

Cost of 50 cups = 127500.

This is wrong reasoning though (assuming you cannot give up in the middle)...

Title: Re: Game Of 100 Cups
Post by Aryabhatta on Mar 17th, 2007, 11:33am

on 03/16/07 at 10:18:51, Barukh wrote:
Do you agree with towr, then?  ;D


I think I do  ;) ;D

Title: Re: Game Of 100 Cups
Post by Aryabhatta on Mar 17th, 2007, 11:42am

on 03/17/07 at 11:24:40, Aryabhatta wrote:
The reasoning for my guess:

If you pick 50 random cups, the probability that the diamond is in one of them is 1/2.

Thus if the cost of the diamond is more than the cost of checking 50 cups, I will play.

Cost of 50 cups = 127500.

This is wrong reasoning though (assuming you cannot give up in the middle)...


In fact this is wrong even if you are allowed to stop in the middle.

Title: Re: Game Of 100 Cups
Post by irrational on Mar 19th, 2007, 11:47am
Thanks..

My thinking was:

If you have paid $100 for cup 1 and that is removed from the table the probability for the second cup becomes 1/99 instead of 1/100.

So the summation for cost becomes.
(1/100)*100+(1/99)*200 ....

Any flaw with the thinking or am I thinking too much  ;)

Title: Re: Game Of 100 Cups
Post by SMQ on Mar 19th, 2007, 12:31pm

on 03/19/07 at 11:47:11, irrational wrote:
Any flaw with the thinking

You need to account for the probability (99/100) that you even get to the second cup.  Thus:

(1/100)*100 + (99/100)(1/99)*200 + (99/100)(98/99)(1/98)*300 + ...
= (1/100)*100 + (1/100)*200 + (1/100)*300 + ...

--SMQ

Title: Re: Game Of 100 Cups
Post by irrational on Mar 19th, 2007, 8:40pm
Ahaa!!..

Thanks .. Now I know why I never win anything in Las Vegas! :)

Title: Re: Game Of 100 Cups
Post by Grimbal on Mar 20th, 2007, 9:55am

on 03/19/07 at 11:47:11, irrational wrote:
Thanks..

My thinking was:

If you have paid $100 for cup 1 and that is removed from the table the probability for the second cup becomes 1/99 instead of 1/100.

So the summation for cost becomes.
(1/100)*100+(1/99)*200 ....

Any flaw with the thinking or am I thinking too much  ;)


Besides the flaw pointed out by SMQ, this assumes you only pay the last cup.



Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board