wu :: forums (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi)
riddles >> easy >> A Selfless Act?      
(Message started by: alien2 on Jan 4th, 2013, 9:32am)

Title: A Selfless Act?      
Post by alien2 on Jan 4th, 2013, 9:32am
The wretch, concentred all in self,
Living, shall forfeit fair renown,
And, doubly dying, shall go down
To the vile dust, from whence he sprung,
Unwept, unhonour'd, and unsung.


Sir Walter Scott





100 imprisoned men, living in a parallel world to ours, have been found guilty of the crime of excessive selfishness. According to the State, their punishment is as follows. The warden tells them in the courtyard that in one hour, each of them will be teleported to a random cell. Each cell is windowless and soundproof. Only 50 cells have a button, which is emitting a dim light in the dark. All those who push the button will serve a two-month stretch in the hole, and others will be released after 24 h in solitary confinement. If nobody pushes the button within above 24 h, all prisoners will spend a year in the cells. The warden then leaves them so that they can discuss a plan.

Title: Re: A Selfless Act?      
Post by Grimbal on Jan 4th, 2013, 9:59am
If some people do press the button, what happens to the others?  Are they released?

Title: Re: A Selfless Act?      
Post by alien2 on Jan 4th, 2013, 11:08am

on 01/04/13 at 09:59:43, Grimbal wrote:
If some people do press the button, what happens to the others?  Are they released?

I modified the riddle. I hope everything is clear now.

Title: Re: A Selfless Act?      
Post by Grimbal on Jan 4th, 2013, 12:07pm
I will assume we want to minimize the average total prison time.

I considered 2 methods:

1. Choose n prisoners randomly.  These must press on the button if they can.
I find an optimum at n=9 with an average 10.44 months total prison time.

2. Choose a probability p.  Every prisoner who sees the button presses with probability p.
I find an optimum at p=0.121 with an average 13.88 months total prison time.

Method 1 is better.

Title: Re: A Selfless Act?      
Post by towr on Jan 5th, 2013, 2:48am

on 01/04/13 at 12:07:53, Grimbal wrote:
1. Choose n prisoners randomly.  These must press on the button if they can.
I find an optimum at n=9 with an average 10.44 months total prison time.
So, one of these prisoner is in his cell, sees the light of the button and considers: do I want a two month prison sentence or take my chances that one of the other 8 prisoners pushes the button and only spend a day in prison? The chance is pretty good at least one of them is in a cell with a button, so if they then press it, I'm much better off not pressing my button.

Don't forget these are selfish bastards.

So at the very least, the selected prisoners will have to decide for themselves what probability of pushing the button maximizes their own individual prospects.

Title: Re: A Selfless Act?      
Post by Grimbal on Jan 5th, 2013, 5:57am

on 01/05/13 at 02:48:08, towr wrote:
Don't forget these are selfish bastards.

Ah, well, yes, that changes everything.

So we need a Nash equilibrium.  I would propose to choose 3 prisoners.  These prisoners are asked to press the button if they see it.

For a chosen prisoner, the probability that nobody else presses the button is ~1/4, if he doesn't press, he serves ~3 months on average.  So he will press the button.

For the remaining prisoners, the probability that no chosen prisoner presses the button is ~1/8, that is an average prison time of ~1.5.  So they don't press.

A more accurate calculation gives 144 months of total prison time.  That's more than the 10.44 months they could serve, but that is the price for falling for the prisoner's dilemma.

You could make the selection secret.  A jar has 100 marbles.  97 white and 3 black.  Each prisoner takes a marble without showing it.  Everybody is requested to press the button if and only if he got a black marble.

With this setting, you could improve the odds by actually putting in 9 black marbles, but without telling the prisoners.

But that would require an external person.  If it is a prisoner who prepares the jar and he is so smart to think of putting more black marbles, being selfish he would put in at least 52 black marbles.

Title: Re: A Selfless Act?      
Post by cartoonle on Jan 6th, 2013, 3:36am
What happens if more than one prisoner presses the button?

Title: Re: A Selfless Act?      
Post by alien2 on Jan 6th, 2013, 7:11am

on 01/06/13 at 03:36:29, cartoonle wrote:
What happens if more than one prisoner presses the button?

I modified the riddle again. ::) Everything should be clear now.

Title: Re: A Selfless Act?      
Post by marlonmark on Jan 6th, 2013, 10:24pm
my friend dont keep on modifying the riddle again n again as it becomes difficult to understand this one.

Title: Re: A Selfless Act?      
Post by Annettagiles on Oct 14th, 2014, 4:27am
In that you haven't mentioned about minimum how many members need to press the button

Title: Re: A Selfless Act?      
Post by rmsgrey on Oct 14th, 2014, 6:15am

on 10/14/14 at 04:27:03, Annettagiles wrote:
In that you haven't mentioned about minimum how many members need to press the button


At the end of 24 hours, if at least one button has been pressed, all prisoners who didn't press a button are released, while those who did press a button serve 2 months. If no-one has pressed by that time, then everyone serves 1 year instead.



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