Get all your news in one place.
100’s of premium titles.
One app.
Start reading
The Guardian - UK
The Guardian - UK
Science
Alex Bellos

Did you solve it? Can you outfox the desert island despot?

Maths is a beach.
Maths is a beach. Photograph: Alvaro Cerezo Aguilar/Docastaway

Earlier today I set you the following puzzle:

You and a friend have been captured on a desert island ruled by a crazed mathematical despot. You will be locked in separate cells in the island’s prison, and then set the following task:

Every minute for an hour you will each flip a coin. The flips are simultaneous, and after each flip you will make a prediction as to whether the other person’s flip was heads or tails.

So, you both make 60 flips and 60 predictions.

The despot rules that he will kill the two of you if on any one of the 60 predictions you are both correct. (In other words, you both flip, both predict the result of the other person’s flip, and are both right). To escape with your lives at least one of you must predict wrongly each time.

You are given ten minutes to think up a survival strategy before being taken to the cells. Once you are in the cells you cannot communicate with each other, although you are obviously able to see the results of your own flips.

Can you guarantee your survival, and if so, how?

Solution

This puzzle seems difficult at first, requiring some kind of trick or extra clever strategy, but the solution is simple.

You will survive if you use the outcome of your coin flip as your prediction, and your friend uses the opposite of their coin flip as their prediction. (Or vice versa).

So, if you flip heads, you predict heads. If your friend flips heads, they predict tails.

Here’s the full table:

You flip H, friend flips H. So you call H, friend calls T. Only one correct prediction.

You flip H, friend flips T. So you call H, friend calls H. Only one correct prediction.

You flip T, friend flips H. So you call T, friend calls T. Only one correct prediction.

You flip T, friend flips T. So you call T, friend calls H. Only one correct prediction.

You might not have thought that the table would work out so neatly, but when you go through the options you will find that it does. Evil despot outfoxed!

Since this strategy always results in one correct prediction, the question could have been phrased with that requirement, as one reader noted:

Of the lateral-thinking answers, I liked this one best:

Since coins have a 1 in 6000 chance of landing on their edge on a flat surface, according to science....

Hope you enjoyed the puzzle, I’ll be back in two weeks.

I post a puzzle here on a Monday every two weeks. If you want to propose a puzzle for this column, please email me I’d love to hear it.

I’m also the author of three popular maths books including Alex’s Adventures in Numberland and the maths colouring book Snowflake Seashell Star. You can check me out on Twitter, Facebook, Google+, my personal website or my Guardian maths blog.

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.