MedVision ad

Pirates. (1 Viewer)

seanieg89

Well-Known Member
Joined
Aug 8, 2006
Messages
2,662
Gender
Male
HSC
2007
Okay, here goes my attempt to explain it.

For small numbers of pirates, there is a unique optimal plan for the pirate king to propose (optimal in the sense that it maximises the gold he gets and ensures his survival). I present the first few here for you to get the idea:

(100,0), (99,0,1), (99,0,1,0), (98,0,1,0,1), (98,0,1,0,1,0) etc.

To show these plans are optimal, it suffices to compare the outcome of each of the k pirates in a given plan to his outcome if the plan is rejected and the optimal (k-1)-pirate plan is proposed and accepted. For a k pirate plan to be accepted, the king pirate must merely ensure that he offers enough of the pirates more gold than they would receive in the optimal (k-1)-pirate plan.

This is certainly possible (and unique) for small numbers of pirates. Things get a little interesting when we reach the 200 mark. Now the king pirate can no longer afford to hang on to any gold for himself, his survival is at stake. As he posesses a vote himself, he can still survive when there are 202 pirates via the plan

(0,0,1,0,1,...,1,0).

Moreover, this is the unique agreeable plan when there are 202 pirates.

So now we know that the bottom 202 pirates are safe no matter what...ie their decisions on the plans when there are > 202 pirates are motivated purely by money and their thirst for blood.

When there are 203 pirates, the king pirate can only satisfy 100 pirates with gold pieces, and his own vote makes 101, not enough for survival! So if there are 203 pirates, the pirate king is doomed no matter what he proposes. (*)

HOWEVER, this does not mean that 202 is the maximum number of pirates for which an agreeable plan is possible.

If there are 204 pirates for instance, the king can propose the plan (0,0,0,0,0,1,0,1,0,...,0,1). As before, the 100 pirates receiving gold are happy, because they do not receive gold in the unique plan that would be agreed upon if the top two pirates are killed. Finally, the king himself and his #2 are happy with this plan for the reason of survival! #2 will agree to absolutely any plan the king proposes as he knows that if it gets to 203 pirates with him as king, he is doomed (from *)!

We can continue this process upwards in an inductive process. The idea is to show that when there are >200 pirates, there is an agreeable plan if and only if there are 200+2^k pirates for some non-negative integer k. (Which directly gives us 456 as the first # of pirates for which the king can avoid being killed.)

The process is slightly complicated by the fact that at this point we lose uniqueness of an optimal plan, eg (0,0,0,1,0,0,0,1,0,...,0,1) would also satisfy 204 pirates, however the essential idea is simple: We need to add more and more pirates at the top each time to vote with the king on the basis of survival in order to balance the increasing number of pirates who know they are safe and cannot be satisfied with gold. A little tired now so I will leave this for now and come back to it tomorrow. Hopefully what I have written makes some sense.
 

DAFUQ

Member
Joined
Jul 15, 2012
Messages
41
Gender
Male
HSC
2011
Okay, here goes my attempt to explain it.

For small numbers of pirates, there is a unique optimal plan for the pirate king to propose (optimal in the sense that it maximises the gold he gets and ensures his survival). I present the first few here for you to get the idea:

(100,0), (99,0,1), (99,0,1,0), (98,0,1,0,1), (98,0,1,0,1,0) etc.

To show these plans are optimal, it suffices to compare the outcome of each of the k pirates in a given plan to his outcome if the plan is rejected and the optimal (k-1)-pirate plan is proposed and accepted. For a k pirate plan to be accepted, the king pirate must merely ensure that he offers enough of the pirates more gold than they would receive in the optimal (k-1)-pirate plan.

This is certainly possible (and unique) for small numbers of pirates. Things get a little interesting when we reach the 200 mark. Now the king pirate can no longer afford to hang on to any gold for himself, his survival is at stake. As he posesses a vote himself, he can still survive when there are 202 pirates via the plan

(0,0,1,0,1,...,1,0).

Moreover, this is the unique agreeable plan when there are 202 pirates.

So now we know that the bottom 202 pirates are safe no matter what...ie their decisions on the plans when there are > 202 pirates are motivated purely by money and their thirst for blood.

When there are 203 pirates, the king pirate can only satisfy 100 pirates with gold pieces, and his own vote makes 101, not enough for survival! So if there are 203 pirates, the pirate king is doomed no matter what he proposes. (*)

HOWEVER, this does not mean that 202 is the maximum number of pirates for which an agreeable plan is possible.

If there are 204 pirates for instance, the king can propose the plan (0,0,0,0,0,1,0,1,0,...,0,1). As before, the 100 pirates receiving gold are happy, because they do not receive gold in the unique plan that would be agreed upon if the top two pirates are killed. Finally, the king himself and his #2 are happy with this plan for the reason of survival! #2 will agree to absolutely any plan the king proposes as he knows that if it gets to 203 pirates with him as king, he is doomed (from *)!

We can continue this process upwards in an inductive process. The idea is to show that when there are >200 pirates, there is an agreeable plan if and only if there are 200+2^k pirates for some non-negative integer k. (Which directly gives us 456 as the first # of pirates for which the king can avoid being killed.)

The process is slightly complicated by the fact that at this point we lose uniqueness of an optimal plan, eg (0,0,0,1,0,0,0,1,0,...,0,1) would also satisfy 204 pirates, however the essential idea is simple: We need to add more and more pirates at the top each time to vote with the king on the basis of survival in order to balance the increasing number of pirates who know they are safe and cannot be satisfied with gold. A little tired now so I will leave this for now and come back to it tomorrow. Hopefully what I have written makes some sense.
Very nice
 

DAFUQ

Member
Joined
Jul 15, 2012
Messages
41
Gender
Male
HSC
2011
I didn't understand shit LOL
try a simpler version of this problem. This means to do the problem on a smaller scale.
say, 5 pirates, 100gold.
wat happens if theres 2 pirate? 3 pirates? 4 pirates? then u do 5 pirates, which is the answer to 5pirates 100gold
 

lolcakes52

Member
Joined
Oct 31, 2011
Messages
286
Gender
Undisclosed
HSC
2012
4 pirates and 497 and 498 have 50 gold each.

There are a few important things to note:
That unless the number of pirates is two, the average amount of gold per pirate will be less than 50.
Pirates will always vote against the distribution if they are going to die. This is because they cannot receive gold so they start killing like crazy.

My logic goes as such.

Put the pirates into two classes: A and B. A is all the pirates from the half way point to 1, exclusive. B is all the pirates from the half-way point to 500 inclusive. Basically no matter what class A does, class B will always vote against the ruling as it increases their booty. This goes on and on until we have four pirates left. Pirate king goes hey I found a way I can have the maximum amount of gold possible and not die. He goes yo, pirate 498 heres 50g's; don't vote against me because if you do you will die. Pirate 499 and 500 are hopelessly lost as they don't have the majority vote. THIS IS WHATS WRONG WITH CAPITALISM PEOPLE.

edit: okay i read the answer and pirates are dicks.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top