TADM2E 2.52
From Algorithm Wiki
This problem is a famous game-theoretical scenario called the pirate game (http://en.wikipedia.org/wiki/Pirate_game). Assume the senior pirate gets to vote.
Where there is only 1 indivisible dollar: 2 pirates - The senior pirate gets it. 3+ pirates - The least senior pirate gets it.
In general, every 2 + 2^K (k >= 1) pirate will survive, while the others will die