Riddles

These brain-teasers and problems are suited to all abilities, with easy riddles that are designed to be accessible to all and hard riddles that are intended to stretch experienced problem solvers. The most recently added riddles, along with their solutions, are at the top of each section.

Cruel dilemma

A guilty prisoner on death row is granted one last favour by his executioner — he may choose the manner of his death, out of the following options:

  • Crushed under the weight of a five tonne stone;
  • Thrown into a pit of lions who have not eaten for five months;
  • Boiled in oil for seven days and seven nights;
  • Poisoned by five scorpions, ten tarantulas and twenty serpents;
  • Or eaten alive by a tribe of cannibals.

Which of these should he choose?

He should choose to be thrown in with the lions — if they haven't eaten for five months, they've probably already died of hunger!

Odd vowels

Four cards are laid out on a table in front of you. Each card bears a letter on one side, and a number on the other. The cards have the following showing on their face-up sides: A, B, 1, 2.

Which cards do you need to turn over to verify the statement "all cards with a vowel on one side have an odd number on the other side"?

You only need to turn over the A card and the 2 card. If the A card doesn't have an odd number on the other side, the statement is false. If the 2 card has a vowel on the other side, the statement is false.

We do not need to turn over either the B card or the 1 card. In the case of the B card, the rule clearly does not apply. For the 1 card, it doesn't matter what appears on the other side — if it was a vowel, the statement would be verified, but if it was a consonant, the statement would not apply. Neither of these cards can disprove the statement, so we don't need to turn them over.

Up and down

What can go down, but never up?

What can go up, but never down?

What goes up and down, but never moves?

There are two known answers for the last question — see if you can find them both!

Rain can only go down, but your age can only go up! Both stairs and someone's mood can go up and down without moving.

Date cubes

Imagine you have two cubes and you want to be able to arrange them every day so that the front faces show the current day of the month, with both cubes being used for every day. What numbers need to be on the faces of the cubes to allow this?

Since we need to be able to represent 11 and 22, there must be a 1 and 2 on both of the cubes. We will also need a 0 on both cubes, otherwise it would not be possible to represent 01–09, since there are not enough faces on one cube for all the digits. This leaves 7 digits (3–9), but we only have six faces available (three per cube). However we can save on one digit, since 6 is just 9 upside down. Therefore we can distribute the remaining digits 3–8 amongst any of the remaining faces; for example:

  • 0, 1, 2, 3, 4, 5
  • 0, 1, 2, 6, 7, 8

Cake cutting

How can you cut a cake into 8 equal sized slices using exactly 3 straight slices of a knife?

Cut the cake into quarters using typical vertical slices, and then slice the cake horizontally.

Hole volume

How much earth is contained in a hole with dimensions 1m x 2m x 3m?

None — it's a hole!

Super-sight cyclist

A cyclist is travelling down a remote country road at a brisk speed, without being equipped with any lights or fluorescent jackets. There is no moonlight; nor are there any street lights or nearby houses. A woman dressed completely in black steps out into the road, but despite these conditions, the cyclist manages to see her and stops before crashing into her. How?

It's daytime — no mention was made of it being night.

Days of the week

If today isn't the day after Monday or the day before Thursday, if tomorrow isn't Sunday, if it wasn't Sunday yesterday, if the day after tomorrow isn't Saturday, and if the day before yesterday wasn't Wednesday, what day is it today?

The statements (in order) mean that it can't be Tuesday, it can't be Wednesday, it can't be Saturday, it can't be Monday, it can't be Thursday, and it can't be Friday. Therefore, Sunday is the only remaining possibility.

Dream firing

A night watchman tells his boss, "Don't take your planned flight today! I had a dream last night that if you do, your plane will crash and you'll die." The boss decides to err on the side of caution, and take a different flight. Later, he hears that the plane did indeed crash, and there were no survivors. Despite the fact that the man had effectively saved his life, the boss fires the man. Why?

As he had a dream last night, the night watchman would have been sleeping on the job.

Magic room

A man is in a room. He enters a different room through a door, waits around in that room for a short while, then exits that room through the same door he entered. However, after exiting, he finds himself in a different room to that which he started in. How?

The man walks into an elevator.

Ladder on a ship

On the side of a moored ship, there is a ladder with 27 rungs. Each rung is 2 cm thick, and there is a 13 cm gap between each rung. The tide is rising at a constant rate of 15 cm per hour. If there are 17 rungs showing at 12:00 (with the water just touching the bottom of the 17th rung), how many rungs will be underwater at 15:00?

As the boat floats, the same number of rungs will still be above the water after the time has passed. Therefore, as there were 17 rungs above the water, and 27 rungs in total, 10 rungs will be left underwater.

Sharing is caring

As three friends were walking through a mysterious forest, they spot 21 jars lying on the ground, all marked "elixir of life". However, upon closer inspection, the friends realise that while 7 of the jars are full, 7 of the jars are only half-full and the remaining 7 are empty. The friends decide to share the elixir equally among themselves, but without opening any of the jars, or transferring the content of any jar to another. How can the three friends achieve this?

The jars should be allocated as follows (F stands for full, H stands for half-full, and E stands for empty):

  • Person 1: F F F H E E E
  • Person 2: F F F H E E E
  • Person 3: F H H H H H E

Each person then ends up with three and a half jars worth of elixir.

Diamonds in boxes

You have two boxes of different sizes, and 3 diamonds. How can you place the diamonds in the boxes such that each box contains an odd number of diamonds?

There are two ways: either place all three diamonds in the smaller box and then place the smaller box inside the bigger box, or place 1 diamond in the smaller box and 2 diamonds in the bigger box, before placing the smaller box inside the bigger box.

Pa9e numbers

A secretary has forgotten to number the pages of a booklet he has put together on the computer for his boss. Instead of fixing the issue by printing the whole document off again and incurring the wrath of his boss for wasting paper, he decides to number each of the 100 pages by hand. How many times will the secretary inscribe the figure 9?

The secretary will inscribe the number 9 a total of 20 times: 11 times for 9, 19, 29, 29, 49, 59, 69, 79, 89, 99 (there are two nines in 99) and a further 9 times in 90, 91, 92, 93, 94, 95, 96, 97 and 98.

Periodic pills

Jack has to take 8 medicinal pills, with a 15 minute gap between each pill. How long will it take him to take all of the pills?

Jack will take 1 hour and 45 minutes to finish the pills, as there will only be 7 lots of 15 minute gaps between each pill.

Bridge crossing

A man holding three objects (a ball, a hat and a bowling pin) arrives at a bridge. The bridgekeeper warns him, "the bridge won't bear more than your weight plus a maximum of two objects, and it's not possible to throw the objects over to the far side."

Despite this, the man nevertheless manages to get to the other side carrying his three objects in a single crossing. How does he do it?

The man juggles the three items!

25 Loses

You and a friend play a game with the following rules:

  • The first player starts the game with the number 1, 2 or 3.
  • Players then take turns to say a number up to 3 more than the previous number. For example, if the first player said 2, the second player could say either 3, 4 or 5.
  • The person who says 25 is the loser.

You can choose if you want to go first or second. What strategy should you use to be guaranteed to win?

Clearly, you need to be the one to say 24 — otherwise your opponent can force you to say 25. In order to say 24, your opponent must have been on either 21, 22 or 23 in the turn before — how can you guarantee that your opponent is forced into saying one of these numbers? Can you continue this pattern?

Continuing from the hint, you must be the one to say 20 in order to win. This pattern continues — you must also be the one to say 16, 12, 8 and 4. This means that you should go second; no matter whether your friend starts with 1, 2 or 3, you can jump to 4 on your turn. After that, continue to jump to the next multiple of 4 on each of your turns until you reach 24, forcing your friend to say 25.

Pirate plunder

Five pirates successfully plunder a nearby vessel, and return to their ship with 100 gold coins. In order to divide the treasure amongst them; the pirates follow a strict system. The oldest of the group proposes an allocation of the coins to each pirate (including themselves). All the pirates then vote, and if 50% or more of the pirates accept, the loot is divvied as agreed; if not, the pirate who made the suggestion is forced to walk the plank, and the next oldest pirate then makes a proposal to the remaining crewmates. The pirates are perfectly logical, and behave as follows:

  • Each pirate will make decisions according to whatever will net them the most money without getting killed.
  • All other things being equal, a pirate would rather kill their crewmate.
  • They do not trust each other at all, and make no agreements amongst themselves.

The pirates are labelled A, B, C, D and E in order from oldest to youngest. How should pirate A propose to share the loot?

To work out which way each pirate will vote, start by imagining the situation in which only pirates D and E are left. Clearly then D will just give himself all 100 coins, and E will get nothing. Knowing that this situation is one that E will want to avoid, how would he vote if C, D and E were left — and what should C offer him? You can then continue this reasoning by adding pirates back in one by one.

Starting from the hint, we know that E will vote with C as long as he gets at least 1 coin. If C was to offer E nothing, E would vote to kill C and get nothing from D instead. So in this scenario, C would get 99 coins, and E would get 1 coin.

Now we proceed from the case where B, C, D and E are alive. In this case, D will vote with B as long as he gets at least 1 coin, as he knows he'll get nothing if C is in charge. B can therefore suggest 99 coins for himself and 1 coin for D, giving him the 50% required to approve the split.

Finally, we can deduce how A should offer to split the coins. C and E both want to avoid B being in charge, and so will vote with A as long as they get at least 1 coin. Therefore, A should suggest a split of 98 coins for himself, and 1 coin each for C and E.

Tower escape

A king, queen and prince are admiring their treasure in the top of their castle's tower, when a fire breaks out at the bottom. The fire quickly starts to rise up the tower, meaning the only method of escape is through the rescue baskets hanging outside the tower's only window. The baskets are attached together via a pulley, and when one basket is on the ground, the other basket is directly outside the window. The basket with the heavier contents will fall, and the basket with the lighter contents will rise — but if the mass of one basket exceeds the mass of the other basket by more than 15kg, the speed of descent/ascent becomes dangerous for anyone inside the baskets. One basket is outside the window to start with, and both baskets are empty.

Knowing that king has a mass of 95kg, the queen of 55kg, the prince of 40kg and the treasure of 25kg, how can they escape the fire?

Although the speed of descent/ascent is dangerous to humans if the mass difference exceeds 15kg, there is nothing to stop you from dropping the treasure in one basket and leaving the other basket empty. Also, anyone can carry the treasure while they are in a basket.

They should proceed as follows:

  1. Put the treasure into an empty basket, which falls to the ground.
  2. The prince gets into the basket outside the window, and descends. The treasure climbs back up.
  3. The queen swaps with the treasure and descends, while the prince comes up again.
  4. The queen and prince vacate their baskets, and the king puts the treasure into an empty basket, which falls to the ground.
  5. The queen picks up the treasure and gets into the basket; they start to rise as the king comes down in the other basket.
  6. The king and queen get out of their baskets, leaving the treasure to drop down again.
  7. The prince now gets into the basket outside the tower window and descends, while the treasure goes up.
  8. The queen again swaps with the treasure and descends, while the prince rises again.
  9. The prince lets the treasure drop, with an empty basket rising.
  10. Finally, the prince gets into the empty basket and descends safely, as the treasure goes back up.

All that remains is to dodge the falling treasure.

Identical pills

You have just been bitten by a venomous snake, and unless you start to take the antidote within a few minutes, you will die. The antidote consists of two types of pills, A and B, which need to be taken simultaneously in 3 separate doses, each dose 2 hours apart. You have two bottles, A and B, each containing 3 pills of their respective types. The bottles are clearly marked, but the pills appear completely identical. In your frenzied state, you get out one pill from bottle A, but accidentally spill 2 pills out of bottle B alongside the pill of type A, and lose track of which pill is which. How can you ensure that you survive the snake bite?

Add an extra pill to the mix from bottle A, and then split each of the pills in half. Consume one half of each of the pills in the mix, which adds up to two halves of pill A and two halves of pill B, the correct dosage. You can then consume the remaining halves in two hours time, followed by the remaining whole pills two hours later.

Six matchsticks, four triangles

How can you arrange 6 identical matchsticks (without breaking or overlapping them) to form 4 identical triangles?

You have to think in 3D — form a tetrahedron (otherwise known as a triangular based pyramid), so that the 4 faces are the triangles you require!

You might like to see Wikipedia's page on tetrahedrons.

Drone shuttles

Two trains are travelling directly towards each other at 50km/h on a straight track. When they are exactly 100km apart, a drone leaves the front of one train and starts to fly at 75km/h towards the other train along the path of the track. As soon as it reaches the front of the other train, it then instantaneously turns round and begins to fly back towards the first train at 75km/h. The drone continually flies between the two trains in this fashion until the trains crash together. How far will the drone have travelled until it gets crushed by the trains?

It's easiest to think about this problem in terms of the amount of time the drone will be flying for — which will be equivalent to the amount of time that it takes the trains to collide. Since each train will collide after travelling 50km (which will take 1 hour), to find the distance the drone has travelled we simply have to multiply the speed of the drone by the time it was travelling; which yields a distance of 75km.

Peculiar prices

While out shopping, you have the following intriguing conversation with a member of staff from a shop:
"How much would 3 cost?"
"That would be £3."
"What about 14?"
"£6."
"And how about 159?"
"£9."

What are you shopping for?

You are shopping for house-numbers.

Boring bookworm

A series of 10 books are arranged in order from left to right on a library shelf. Each book is exactly 4cm thick, including two covers, each of which are 0.5cm thick. A bookworm starts on page 1 of the first book in the series, and eats its way through all the books in a straight line until it finishes on the final page of the 10th book. How far does the worm travel in the course of its journey?

The answer is not 39cm. Consider the positioning of each of the covers of a book when it is placed on a bookshelf — try placing a book yourself if it helps!

When you place a book on a library shelf, the 1st page is not on the leftmost side of the book, it is on the rightmost side! This means that when the worm starts from the 1st page of the 1st book, it only has the cover left to eat its way through before it reaches the second book, so 0.5cm. Then, it can eat its way through all the books from 2 to 9 (a further 8 books, so another 32cm) and then finally eat its way through the back cover of the 10th book to reach the final page of the 10th book. This means that the worm has travelled a total distance of 33cm.

Terrible timers

How can you measure 9 minutes using only a 4 minute sand-timer and a 7 minute sand-timer?

Start both sand-timers at the same time. When the 4 minute sand-timer has run out, flip it back over. Once the 7 minute sand-timer runs out, there will be 1 minute left on the 4 minute sand-timer. Flip the 7 minute sand-timer over as soon as it finishes, and then once the 4 minute sand-timer runs out (leaving an amount of sand equivalent to 1 minute in the bottom of the 7 minute sand-timer), flip the 7 minute sand-timer back over to complete the 9 minutes.

The following table details the state of the timers minute-by-minute.

Minute Time Left in 4 Minute Timer Time Left in 7 Minute Timer
0 4 7
1 3 6
2 2 5
3 1 4
4 4 (flipped from 0) 3
5 3 2
6 2 1
7 1 7 (flipped from 0)
8 0 1 (flipped from 6)
9 0 0

Detention threat

A teacher has a class full of unruly students who she wants to give a test to. However, the pupils all refuse to take the test, in the knowledge that the teacher can only give one student from that class a detention for not taking the test. All of the students know each other's names, but if a student knows that they are going to get a detention, they will take the test. How can the teacher threaten the students with a single detention so that all of the students will take the test?

The teacher should tell the students that she is going to give a detention to the first student on the register who wants to skip the test. This means that the first student will sit the test, but because the second person is now at risk of a detention, they will also take the test, and so on.

Wolf, goat, cabbage

A person is making a strange journey accompanied by a wolf, a goat and a cabbage, and must cross a river in the process. However, they only have a single boat which will allow them to transport only themselves as well as one other load (either the wolf, the goat or the cabbage). This means that the person will have to leave two unguarded on the riverbank while making the crossing; however, if left unguarded, the wolf would eat the goat, and the goat would eat the cabbage.

How can the person plan his journeys across the river so that he can transport the wolf, the goat and the cabbage without any of them being eaten?

The person would make the following journey:

  1. Cross with the goat and leave it on the opposite bank.
  2. Cross back alone.
  3. Cross with the wolf and leave it on the opposite bank.
  4. Cross back with the goat and leave it on the starting bank.
  5. Cross with the cabbage and leave it on the opposite bank with the wolf.
  6. Cross back alone.
  7. Finally, cross with the goat, and join the wolf and the cabbage on the opposite bank.

Loser wins

During a very prestigious tournament, two knights are tied for first place. To decide the winner, who will receive £3,141.59, the king tells them:
"Look at that tower there on the horizon. The one whose horse arrives last at this tower will be the winner of this tournament."
Upon hearing this, the two knights rush to the stables, where each of them quickly mounts a horse and heads for the tower at full gallop.

How do you explain the apparently illogical behaviour of the two knights?

Each knight mounted the horse of the other knight; by doing this, if they got the horse that they were riding to the tower first, this would mean that their own horse would have come last and therefore they would win.

Precious stones

A queen wants to have a crown made with precious stones, so she goes to a merchant, who promises to make her a crown with nine of these precious stones. However, she finds out from an informer that one of the nine stones that the merchant is proposing to use for the crown is a fake. Displeased with this, she decides to prosecute the merchant; but to do this she will need to find the fake stone to use as evidence. She is told that the fake stone is slightly heavier than the others.

When the merchant arrives with the stones, the queen asks her servant to bring out the tipping scales (which tells you if one object is heavier than the other or whether they are equal), and manages to find the false stone with just two weighings.

How does she do it?

The queen divides the nine stones into three piles of three. Then, the queen will place two of the piles of stones on the scales, with one pile of stones on each side. If the scales tip to one side, then the fake stone must be in the pile that is heavier; if they are balanced, the fake stone must be in the pile that was not placed on the scales. Having identified which pile the stone is in, the queen must then take two of the stones from that pile and place them on the scales in a similar fashion — if one side of the scales tips, then the fake stone must be on the side that has made it tip; if they are balanced, the fake stone must be the remaining stone from the pile of three.

Green-eyed prisoners

There is an island managed by a cruel dictator that is home to one hundred prisoners, and each prisoner has green eyes. The dictator has imposed the following strict rules on the prisoners:

  • Every prisoner is allowed to see the eye colour of every other prisoner;
  • The prisoners cannot communicate eye colour in any form;
  • No reflective surfaces are available to the prisioners.

The dictator does have a slight kind streak though — he tells the prisoners that each day at 12 noon, they can approach him and declare what they believe their eye colour is. If they are correct, they are set free, otherwise, they are killed.

For a long time, nobody escapes from the island, and international protests persuade the dictator to allow you, a human rights advocate, exclusive access to the island in order to make one statement to the prisoners. However, your statement is not allowed to contain any additional information to that which the prisoners already have. You must make your statement at 1pm, and this day will be denoted day 0.

What statement should you make, and on what day would the prisoners be set free?

Although your statement cannot contain any additional information; the prisoners can glean information from the fact you are delivering the statement. You can only tell them something they already know (from their perspective), so make sure the statement is also true from your perspective too. It may also help to consider fewer prisoners.

The statement you should make is "at least one prisoner has green eyes." The prisoners will then escape on day 100. To understand why this works, consider an island with only two prisoners, Alice and Bob. Alice and Bob look at each other's eyes, and see green. Since both of them saw green, they cannot be sure that their own eyes are green, and so neither of them leave on day 1. By day 2, since neither of them left on day 1, they both know that the other person must have seen green eyes, otherwise they would have left the island. They therefore both declare their eye colour is green on day 2. For three prisoners, this process would take an additonal day, meaning the prisoners would leave on day 3. Extending this pattern to 100 prisoners means that the prisoners leave on day 100.

It is possible to be kinder to the prisoners — by declaring "at least 99 prisoners have green eyes", no additional information is contained in your statement, but the prisoners will leave on day 2 (since no prisoner can be sure about their eye colour on day 1).

Placing coins

You are playing a game against a friend, in which you will take turns placing circular coins of fixed size on a circular table of fixed radius. The aim of the game is to be the last person to be able to place a coin on the table without it overlapping any of the other coins that have already been placed. You are able to choose whether to go first or second.

What strategy should you use to be guaranteed to win?

To be able to place the last coin on the table is equivalent to saying that whenever your opponent can place a coin, you can also place a coin. Therefore, your strategy for placing coins needs to be based on where your opponent last placed a coin. Don't forget to account for the centre of the table too.

To be guaranteed to win, you should choose to go first, and place your coin at the centre of the table. From then on, wherever your opponent places a coin, you should place a coin directly opposite. This means that whenever your opponent is able to place a coin, you will also be able to place a coin, and thus you will take the final spot for the coin on the table.

1000 poisoned bottles

A king is planning on holding a huge celebration in just over 24 hours time. To ensure everyone has a fabulous time; he has bought some Coke (1000 bottles of Coca-Cola to be precise). However, a spy informs the king that one of the bottles has been poisoned with a poison so strong that even the most minute drop would be lethal. It is also known that the poison takes less than 24 hours to take effect, but that no symptoms will be evident until death. The king owns vast numbers of slaves and is able to force them to drink from any bottle he wishes.

What is the minimum number of slaves that the king must force to drink from the bottles in order to determine which bottle is poisoned?

Clearly, the king will need to number the bottles to keep track of them. For every slave, there are two possibilities for every bottle — they can either take a sip from it, or not. This can be represented by either a 1 or 0 respectively. Now the king only needs to allocate each slave a set of 1s and 0s, which should be determined from the numbers of each bottle.

Only 10 slaves are needed. In order to determine which bottles each slave should drink from, the king first numbers all of the bottles in binary, starting from 0. Then, he numbers the 10 slaves with powers of 2 (i.e. 1, 2, 4, 8, 16, 32, 64, 128, 256, 512), thus allocating each of them a distinct binary digit. Then the king goes through the bottles, and considers the digits in their binary representations. Each slave is forced to drink from every bottle that has a 1 in their number's position, for example the slaves corresponding to 1 and 4 will drink from bottle 5. It will then be possible to deduce which bottle was poisoned from which slaves die in 24 hours time. The following table is in the case of 8 bottles:

Bottle Number (Decimal) Bottle Number (Binary) Slave A (1) Slave B (2) Slave C (4)
0 000 N N N
1 001 Y N N
2 010 N Y N
3 011 Y Y N
4 100 N N Y
5 101 Y N Y
6 110 N Y Y
7 111 Y Y Y

So if slaves A and B were to die, bottle 3 would be the poisoned bottle; if slaves A, B, and C were to die, bottle 7 would be the poisoned bottle; and if none of the slaves were to die then bottle 0 would be the poisoned bottle. This approach can be extended to all 1000 bottles (and could be extended up to 1024 bottles if necessary).

Lucky distribution

You have been captured by an enemy king, and are due to be executed the following morning in front of a large crowd. However, the king decides he will offer you a chance to be pardoned. He announces that instead of just being executed, he will give you 100 marbles, 50 white and 50 black, and allow you to distribute them as you wish into two separate bowls, provided neither bowl is empty. You will then choose 1 bowl at random, and then choose 1 marble at random from the contents of the bowl you chose. If the marble is white, you will be pardoned, but if it is black, you will be executed.

How should you distribute the marbles in order to maximise your chance of survival?

Note that you can have any number of balls in each bowl — can you maximise the probability of survival from picking one bowl without massively decreasing the probability of survival from picking the other bowl?

If you place 1 white marble in one bowl, and the remaining marbles in the other bowl, this gives you a 74.7% (3 sf) chance of survival. This is because you have a 50% chance of picking the first bowl, but once you've picked this bowl, you've got a 100% chance of survival. For the other bowl, you have a 50% chance of picking it, but once you've picked it, you only have a \(\frac{49}{99}\) chance of surviving. This means that overall, you have a \(\frac{1}{2}+\frac{49}{198} = 0.747\) (3 sf) chance of survival.

Weighing it up

You have a set of tipping scales (which tells you if one object is heavier than the other or whether they are equal) and 12 marbles. 11 marbles are of the same weight, but the final marble is either heavier or lighter than the others.

How can you identify the odd marble out and determine whether it is heavier or lighter than the others in just 3 weighings?

When weighing two equal-sized sets of marbles, there are three possible results: they balance (the odd marble is in a non-weighed set), the left side is heavier/the right side is lighter, or the left side is lighter/the right side is heavier. In each case, we can deduce a set of known good marbles that can be used to determine whether the odd marble is heavier or lighter. Since there are three outcomes, start by dividing the original set of 12 marbles into 3 groups of 4 marbles, and weighing two groups against each other. You will need to mix up the groups for the following weighings, using known good marbles.

Number the balls 1–12. As each weighing has three possible outcomes (the left side is either heavier, lighter than, or equal to the right hand side) I will address each possible outcome separately. To start, weigh 1,2,3,4 against 5,6,7,8. The following cases could then occur:

  1. It balances. This means that the odd marble out must be contained within the group 9,10,11,12. Now weigh 6,7,8 (or any other 3 known good marbles) against 9,10,11. Now the following cases could occur:
    1. It balances. In this case, 12 must be the odd marble out. Simply weigh 12 against any other known marble to determine whether it is heavy or light.
    2. 9,10,11 is the lighter side. As any one of these three must be a light marble, weigh 9 against 10; if they balance, 11 is the light marble, otherwise the lighter of 9 and 10 is the light marble.
    3. 9,10,11 is the heavier side. As any one of these three must be a heavy marble, weigh 9 against 10; if they balance, 11 is the heavy marble, otherwise the heavier of 9 and 10 is the heavy marble.
  2. 1,2,3,4 is lighter than 5,6,7,8. This means that any one of 1,2,3,4 could be the light marble, or any one of 5,6,7,8 could be the heavy marble. Weigh 1,2,5 against 3,6,12 (or any other known good marble in the place of 12). Now the following cases could occur:
    1. It balances. This means that none of 1,2,3,5,6 is the odd marble out, leaving the possibility of 4 being a light marble, or 7 or 8 being a heavy marble. Weigh 7 against 8, if they balance, then 4 is the light marble, otherwise the heavier of 7 and 8 is the heavy marble.
    2. 3,6,12 is heavier than 1,2,5. This means that 3 cannot be the odd marble out, as it couldn't be on both the lighter and heavier side of a weighing; leaving either 6 as a heavy marble, or 1 or 2 as a light marble. Now weigh 1 against 2, if they balance then 6 is the heavy marble, otherwise the lighter of 1 and 2 is the light marble.
    3. 3,6,12 is lighter than 1,2,5. This means that 1, 2 and 6 cannot be the odd marble out, as they couldn't be on both the lighter and heavier side of a weighing; leaving either 3 as a light marble, or 5 as a heavy marble. Weigh 3 against 12 (or any other known good marble), if they balance then 5 is the heavy marble, otherwise 3 is the light marble.
  3. 1,2,3,4 is heavier than 5,6,7,8. Similarly to case 2, this means that any one of 1,2,3,4 could be the heavy marble, or any one of 5,6,7,8 could be the light marble. Weigh 1,2,5 against 3,6,12 (or any other known good marble in the place of 12). Now the following cases could occur:
    1. It balances. This means that none of 1,2,3,5,6 is the odd marble out, leaving the possibility of 4 being a heavy marble, or 7 or 8 being a light marble. Weigh 7 against 8, if they balance, then 4 is the heavy marble, otherwise the lighter of 7 and 8 is the light marble.
    2. 3,6,12 is heavier than 1,2,5. This means that 1, 2 and 6 cannot be the odd marble out, as they couldn't be on both the lighter and heavier side of a weighing; leaving either 3 as a heavy marble, or 5 as a light marble. Weigh 3 against 12 (or any other known good marble), if they balance then 5 is the light marble, otherwise 3 is the heavy marble.
    3. 3,6,12 is lighter than 1,2,5. This means that 3 cannot be the odd marble out, as it couldn't be on both the lighter and heavier side of a weighing; leaving either 6 as a light marble, or 1 or 2 as a heavy marble. Weigh 1 against 2, if they balance then 6 is the light marble, otherwise the heavier of 1 or 2 is the heavy marble.

100 red or blue hats

An executioner is to line up 100 prisoners in single file, so that the person at the back can see all 99 ahead of them, the second-to-last can see all 98 ahead of them, and so on. The executioner will then place either a red or blue hat on each of their heads (there is not necessarily an equal number of hats). Then, the prisoner standing at the back of the queue will be asked what the colour of their hat is — if they answer correctly, they are set free, if they do not, they are killed silently and instantly. Everyone hears the answer that is given, but none of the prisoners know if it was correct. The night before this happens, the prisoners have the opportunity to agree a strategy that will be used.

What strategy should the prisoners adopt to maximise the number of prisoners that survive?

A simple system to get a 75% survival rate is for every other prisoner to say the colour of the hat in front of them. This guarantees the survival of 50 prisoners, with the other 50 prisoners having a 50% chance of their hat matching the hat in front of them. However, it is possible to do better. We need a system where every person (except the person at the back) can work out the colour of their hat from the previous prisoner's answer. How can the person at the back communicate some detail about the all the hats in front of them, given they only have two options?

The prisoner at the back of the queue should count up all of the red hats in front of them, and declare "red" if the total is even, and "blue" if the total is odd. This means that the prisoner in front of him can count all the red hats that they can see, and deduce the colour of their own hat. For example, if the prisoner at the back declares "red," but the prisoner in front of them can only see an odd number of red hats, that prisoner must be wearing a red hat. This process is then continued, ensuring that the 99 remaining prisoners all get the colour of their hat correct, but the prisoner at the back of the queue still only has a 50% chance of declaring the colour of his own hat correctly. This gives a 99.5% survival rate.

Forest fire

A King's troops approach an immense forest that is 60km long and 120km wide. They enter the forest from middle of the west side, and begin their 60km journey eastwards to the other side. Due to the denseness of the forest, their maximum marching speed is reduced to 8km/hour, from their normal maximum of 30km/hour. However, some enemy troops have been following them from behind, and an hour after the king's troops enter the forest, they start a fire along the entire width of the forest. On that day, the wind is blowing at a speed of 30km/hour towards the east, and it propagates the fire through the forest towards the troops at that same speed. The fire quickly burns down any tree that is set alight. The commander realises that his troops are going to be enveloped by the fire before they leave the forest.

What order(s) should he give to save his men?

There isn't enough time to exit to the north or south of the forest. To escape the fire, the troops need to be able to stay ahead of it by riding at the same speed as the fire, which means clearing the forest ahead of them somehow.

The commander should order his troops to start a fire in front of them. As the two fires will move at the same speed due to the wind, the fire in front of them will burn down the trees ahead of the troops at the same rate as the fire behind them. This means that the troops will be able to ride at their normal speed in the empty path left behind by fire in front of them, and thus they will be able to escape unharmed.

Two guards

A man is imprisoned in a tower with two doors. One of the doors leads to the way out, the other door leads to the dungeons. A guard stands in front of each door, and while one of the guards always tells the truth, the other always lies. The guards know which door is which, but the prisoner does not know which guard is which. The prisoner is allowed to ask one question to one guard, and then he must choose which door he would like to go through.

What question should the prisoner ask, and which door should he then choose after hearing the answer given by the guard?

There are at least three distinct solutions to this riddle — for maximum enjoyment, try to find as many as you can! All three solutions that I am aware of are given below, and I've provided hints for each as well. If you find another solution not given below, please do let me know!

There is one hint given for each solution below:

  1. The truth about a lie is the same as a lie about the truth.
  2. Consider the positioning of the guards in relation to the doors.
  3. A truth about a truth is true, and a lie about a lie is also true.

The three solutions are given below, in the same order as the hints:

  1. The prisoner could ask a guard "which door would the other guard tell me was the way out?" The prisoner would then go through whichever door the guard did not indicate.
  2. The prisoner could ask a guard "is the guard who tells the truth standing in front of the door that leads to the way out?" If the answer is yes, the prisoner must go through the door of the guard he asked, if the answer is no, the prisoner must go through the door of the guard he did not ask.
  3. The prisoner could ask a guard "what would be your answer if I had asked you earlier in the day which door leads to the way out?" The prisoner must then go through whichever door the guard indicates.

Lighter poison

A queen wants to get rid of the king's mistress. Taking advantage of the fact that her rival is ill and must take a medicinal pill each day, she calls on the services of a poisoner, to whom she passes twelve boxes of twelve pills, all to be replaced by poison. However, the poisoner dies before she can complete her task, and has only had the time to replace all of the twelve pills in one of the twelve boxes with the poison. The queen knows that the poison pills have a mass of 9g, while the others have a mass of 10g.

How can she deduce which box has be tampered with by using a digital mass balance (which measures mass very accurately, and gives a value in grams) only once?

For any number of pills that are placed on the balance, we can calculate the weight they should be if none of them were poisoned. By calculating the difference between this and the actual value, we can deduce how many of the pills on the balance are poisoned.

The queen must give each of the twelve boxes of pills a number from left to right. Then, she must take one pill from box one, two pills from box two, three pills from box three, etc., twelve pills from box twelve. The queen must then measure the mass of the 78 pills that she has removed from the boxes. If all the pills of all the boxes were normal, then the total mass of the pills removed would be 78 x 10 = 780g. Knowing however that a poisoned pill weighs 1g less, all the queen has to do is calculate the difference between the total mass that the pills should have and the mass that the pills actually have to tell her the number of the box which has had its pills substituted. For example, if the queen was to measure the mass of the pills that she removed and found that they weighed 777g, she would know that 3 of the pills had a lower mass (and were therefore poisonous), and therefore the box that had had its pills replaced was box 3.