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

Can you solve it? That Sally Rooney hat puzzle

Green velvet peaked cap by Accessorize Hat
Green velvet peaked cap by Accessorize Photograph: Graham Turner/The Guardian

Midway though the new Sally Rooney novel, Intermezzo, two of the characters discuss a puzzle about hats. I thought it would make a perfect puzzle for this column, so here it is.

A liar who always lies says “All my hats are green.”

Can we conclude that he has some hats?

In fact, I would like to extend the puzzle by making it multiple choice. Which, if any, of the following statements can we conclude from what the liar has said?

A) The liar has at least one hat.
B) The liar has only one green hat.
C) The liar has no hats.
D) The liar has at least one green hat.
E) The liar has no green hats.

Note: this question was originally set in a maths exam, so the answer assumes some basic assumptions about formal logic. A liar is someone who only says false statements.

I’ll be back at 5pm UK with the solution. PLEASE NO SPOILERS. Instead please discuss other logic puzzles that have appeared in literary works.

UPDATE: Read the solution here.

Looking for a Christmas gift for the puzzle lover in your life? My latest book is Think Twice: Solve the Puzzles That (Almost) Everyone Gets Wrong, a collection of counter-intuitive conundrums that make you think about thinking – while enjoying the pleasure of being misled.

Think Twice: Solve the Simple Puzzles (Almost) Everyone Gets Wrong. To support the Guardian and Observer, order your copy at guardianbookshop.com. Delivery charges may apply. (In the US, the book is called Puzzle Me Twice.)

I’ve been setting a puzzle here on alternate Mondays since 2015. I’m always on the look-out for great puzzles. If you would like to suggest one, email me.

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
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.