Table of contents

5 Pirates and 100 Gold coins - Puzzle

The 5 Pirates and 100 Gold Coins Puzzle is one of the most fascinating logic puzzles that challenges reasoning, decision-making, and negotiation skills. In this problem, five pirates must divide a treasure of 100 gold coins according to strict voting rules. Each pirate wants to survive and maximize their share, but they are also ruthless and logical.

This puzzle is often used in job interviews, logic tests, and math competitions to test strategic thinking and backward reasoning. Let’s understand the setup, the rules, and the clever logic behind the solution.

5-Pirates-and-100-Gold-coins-Puzzle

5 Pirates and Gold Coins Puzzle Setup and Rules

Here are the rules of the puzzle:

  • There are five pirates ranked by seniority: Pirate 1 (most senior) to Pirate 5 (least senior).
  • The pirates must decide how to divide 100 gold coins.
  • The most senior pirate proposes a distribution of coins.
  • All pirates vote on the proposal.
  • If 50% or more agree, the proposal is accepted, and coins are divided.
  • If less than 50% agree, the proposer is thrown overboard, and the next senior pirate makes a new proposal.
  • Pirates are ruthless and logical: they prefer survival and more coins over compassion.

Objective

Pirate 1 must propose a plan that keeps them alive and ensures the majority of pirates agree, while still taking as many coins as possible.

The question:
What is the optimal strategy for Pirate 1 to stay alive and get the maximum gold?

How to Solve the 5 Pirates Puzzle?

To solve this puzzle, you must think backward, a strategy known as backward induction. Start from the simplest possible case (only one pirate left) and move step-by-step up to all five pirates. This way, each pirate can logically predict the behavior of the others and plan accordingly.

Step-by-Step Solution for 5 Pirates and 100 Gold Coins Puzzle

Let’s analyze the situation from the smallest group of pirates to the full set of five.

Step 1: If Only Pirate 5 is Left

If all other pirates are thrown overboard and only Pirate 5 remains:

  • Pirate 5 keeps all 100 coins.
  • There’s no one to oppose or vote.

Result: Pirate 5 gets 100 coins.

Step 2: If Pirates 4 and 5 are Left

Now we have Pirate 4 and Pirate 5.

  • Pirate 4 proposes a distribution.
  • If Pirate 5 disagrees, Pirate 4 is thrown overboard, and Pirate 5 gets all 100 coins.

So, Pirate 4 will offer 0 coins to Pirate 5 and keep all 100 for themselves.

  • Pirate 4’s own vote is enough for approval (50%).

Result: Pirate 4 gets 100 coins, Pirate 5 gets 0.

Step 3: If Pirates 3, 4, and 5 are Left

Now Pirate 3 must make a proposal.
They need at least two votes (including their own) to survive.

  • From the previous round, Pirate 4 would take 100 coins if Pirate 3 dies.
  • Pirate 5 gets 0 coins in Pirate 4’s plan.

So, to secure support:
Pirate 3 offers 1 coin to Pirate 5 (since it’s better than 0) and keeps 99 coins.

Result: Pirate 3 gets 99, Pirate 5 gets 1, Pirate 4 gets 0.
Pirate 3 and Pirate 5 vote “Yes,” and the plan passes.

Step 4: If Pirates 2, 3, 4, and 5 are Left

Now Pirate 2 proposes a plan and needs two votes to survive.

  • From Pirate 3’s proposal, Pirate 4 gets 0 coins and Pirate 5 gets 1 coin.
  • To secure majority votes, Pirate 2 can offer Pirate 4 1 coin (since it’s better than 0).
  • Pirate 5 still gets 1 coin.

So, Pirate 2 keeps 98 coins, gives 1 coin to Pirate 4, and 1 coin to Pirate 5.

Result: Pirate 2 gets 98, Pirate 4 gets 1, Pirate 5 gets 1, Pirate 3 gets 0.
Pirate 2, Pirate 4, and Pirate 5 vote “Yes.”

Step 5: If All Five Pirates Are Left

Finally, Pirate 1 must propose a plan that avoids being thrown overboard.
They need at least three votes (including their own).

Looking at Pirate 2’s plan:

  • Pirate 3 gets 0 coins.
  • Pirate 5 gets 1 coin.

So, Pirate 1 can do better for both:

  • Offer 1 coin to Pirate 3 (better than 0).
  • Offer 2 coins to Pirate 5 (better than 1).
  • Keep 97 coins for themselves.
  • Give nothing to Pirates 2 and 4.

Pirates 3 and 5 will support this, ensuring a majority.

Result: Pirate 1’s proposal is accepted.

Final Distribution:

PirateCoins ReceivedReason for Acceptance
Pirate 197Proposer, keeps maximum
Pirate 20Rejected (would vote no)
Pirate 31Better than 0 in next round
Pirate 40Rejected (would vote no)
Pirate 52Better than 1 in next round

Votes For Proposal: Pirates 1, 3, and 5
Votes Against: Pirates 2 and 4

Pirate 1 survives and keeps the lion’s share 97 coins.

Final Answer: Distribution Strategy Summary

By applying backward logic and strategic reasoning, the optimal distribution is:

PirateCoins
Pirate 197
Pirate 20
Pirate 31
Pirate 40
Pirate 52

Pirate 1’s plan passes with three votes, they stay alive and keep the maximum gold. This puzzle perfectly demonstrates rational decision-making, negotiation, and game theory principles in action.

Explanation of the Logic

Each pirate’s decision is guided by two principles:

  1. Survival – They prefer staying alive over dying with no gold.
  2. Greed – They want as many coins as possible.

By thinking backward, each pirate can predict how others will vote in future rounds.
This allows Pirate 1 to craft a proposal that gives just enough incentive for a majority to agree.

This puzzle is a brilliant exercise in game theory, rational thinking, and strategic planning.

The 5 Pirates and 100 Gold Coins Puzzle is popular because it combines logic, strategy, and negotiation.
It teaches us how to analyze complex problems by working backward and anticipating others’ actions.

You’ll often find it in:

  • Google or Microsoft interviews
  • Math Olympiads and logic tests
  • Economics and game theory discussions

It shows how strategic foresight can help make the right decision, even in cutthroat competition.

Similar Logic Puzzles with Answers

Here are other mind-bending puzzles that rely on similar reasoning and deduction skills:

1. The 100 Prisoners Hat Puzzle – Parity and Logic

Setup: 100 prisoners guess their hat colors (red or black).
Answer: Using parity, 99 prisoners are guaranteed to survive.

2. The River Crossing Puzzle – Strategy Across the Stream

Setup: A farmer must carry a goat, wolf, and cabbage across a river without losing any.
Answer: By taking the goat first, then wolf, then cabbage, all cross safely.

3. The Two Doors Riddle – Truth and Lies

Setup: Two guards, one truthful and one liar, protect two doors.
Answer: Ask, “If I asked the other guard which door leads to freedom, what would he say?” and choose the opposite.

4. The Monty Hall Problem – Probability in Action

Setup: Pick one of three doors - one has a car, others have goats.
Answer: Switching doors doubles your winning odds (from 1/3 to 2/3).

5. The Blue Eyes Puzzle – Logical Revelation

Setup: Islanders don’t know their own eye color until told at least one has blue eyes.
Answer: If n people have blue eyes, they all leave on the nth night.

Puzzles

Related Articles