24 Hours Only: Get 39% OFF on Our Premium Plan - Check Out Now!
You and nine other individuals have been captured

by super intelligent alien overlords.

The aliens think humans look quite tasty,

but their civilization forbids eating highly logical and cooperative beings.

Unfortunately, they're not sure whether you qualify,

so they decide to give you all a test.

Through its universal translator,

the alien guarding you tells you the following:

You will be placed in a single-file line facing forward in size order

so that each of you can see everyone lined up ahead of you.

You will not be able to look behind you or step out of line.

Each of you will have either a black or a white hat on your head

assigned randomly,

and I won't tell you how many of each color there are.

When I say to begin, each of you must guess the color of your hat

starting with the person in the back and moving up the line.

And don't even try saying words other than black or white

or signaling some other way, like intonation or volume;

you'll all be eaten immediately.

If at least nine of you guess correctly, you'll all be spared.

You have five minutes to discuss and come up with a plan,

and then I'll line you up, assign your hats, and we'll begin.

Can you think of a strategy guaranteed to save everyone?

Pause the video now to figure it out for yourself.

Answer in: 3

Answer in: 2

Answer in: 1

The key is that the person at the back of the line

who can see everyone else's hats can use the words "black" or "white"

to communicate some coded information.

So what meaning can be assigned to those words

that will allow everyone else to deduce their hat colors?

It can't be the total number of black or white hats.

There are more than two possible values,

but what does have two possible values is that number's parity,

that is whether it's odd or even.

So the solution is to agree that whoever goes first will,

for example, say "black" if he sees an odd number of black hats

and "white" if he sees an even number of black hats.

Let's see how it would play out if the hats were distributed like this.

The tallest captive sees three black hats in front of him,

so he says "black," telling everyone else he sees an odd number of black hats.

He gets his own hat color wrong, but that's okay

since you're collectively allowed to have one wrong answer.

Prisoner two also sees an odd number of black hats,

so she knows hers is white, and answers correctly.

Prisoner three sees an even number of black hats,

so he knows that his must be one of the black hats

the first two prisoners saw.

Prisoner four hears that and knows

that she should be looking for an even number of black hats

since one was behind her.

But she only sees one, so she deduces that her hat is also black.

Prisoners five through nine are each looking for an odd number of black hats,

which they see, so they figure out that their hats are white.

Now it all comes down to you at the front of the line.

If the ninth prisoner saw an odd number of black hats,

that can only mean one thing.

You'll find that this strategy works for any possible arrangement of the hats.

The first prisoner has a 50% chance of giving a wrong answer about his own hat,

but the parity information he conveys

allows everyone else to guess theirs with absolute certainty.

Each begins by expecting to see an odd or even number of hats

of the specified color.

If what they count doesn't match, that means their own hat is that color.

And everytime this happens,

the next person in line will switch the parity they expect to see.

So that's it, you're free to go.

It looks like these aliens will have to go hungry,

or find some less logical organisms to abduct.

Please play the YouTube video first

Can you solve the prisoner hat riddle? – Alex Gendler


Leave a Reply

Your email address will not be published. Required fields are marked *

We have detected unusual activity on your device.
Please verify your identity to continue.
Note: This verification step won't sign you in. If you have a premium account, please log in to access the service as usual.
Google/Gmail Verification
Or verify using Email/Code
We've sent a verification code to:
youremail@gmail.com (Not your email?)
Enter it below to complete the verification process.
Ensure your email address is correct, your inbox is not full, and you check your spam folder. If no email arrives, consider using an alternative email.
You will need a Premium plan to perform your action!
Note: If you already have a premium account, please log in to access our services as usual.

Plans & Pricing

Our mission is to make quality education accessible and free for everyone.
However, to keep our hardworking team running and this service alive, we genuinely need your support!
By opting for a premium plan, not only do you sustain us in achieving the mission, but you also unlock advanced features to enrich your learning experience.

Free

For learners who aren't pressed for time

What's included on Free
1000+ IELTS Tests & Samples
Instant IELTS Writing Task 1 & 2 Evaluation (2 times/month)
Instant IELTS Speaking Part 1, 2, & 3 Evaluation (5 times/month)
Instant IELTS Writing Task 1 & 2 Essay Generator (2 times/month)
500+ Dictation & Shadowing Exercises
100+ Pronunciation Exercises
Flashcards
Other Advanced Tools

Premium

For those serious about advancing their English proficiency, and for IELTS candidates aspiring to boost their band score by 1-2 points (especially in writing & speaking) in just 30 days or less

What's included on Premium
Save Your IELTS Test Progress
Unlock All Courses & Content
Unlimited AI Conversations
Unlimited AI Writing Enhancement Exercises
Unlimited IELTS Writing Task 1 & 2 Evaluation
Unlimited IELTS Speaking Part 1, 2, & 3 Evaluation
Checked Answers Will Not Be Published
Unlimited IELTS Writing Task 1 & 2 Essay Generator
Unlimited IELTS Speaking Part 1, 2, & 3 Sample Generator
Unlimited Usage Of Advanced Tools

Due to the nature of our service and the provided free trials, payments are non-refundable.
Nếu bạn là người Việt Nam và không có hoặc không muốn trả bằng credit/debit cards, bạn có thể thanh toán bằng phương thức chuyển khoản:



Chọn gói:
279,000₫ 157,000 ₫ cho gói 1 tháng (chỉ 5,233₫/ngày)
819,000₫ 397,000 ₫ cho gói 3 tháng (chỉ 4,411₫/ngày)
1,649,000₫ 667,000 ₫ cho gói 6 tháng (chỉ 3,706₫/ngày)
3,299,000₫ 857,000 ₫ cho gói 12 tháng (chỉ 2,381₫/ngày)


Sau khi chuyển khoản, vui lòng đợi trình duyệt tự động điều hướng bạn trở lại Engnovate và bạn sẽ ngay lập tức nhận được mã kích hoạt tài khoản premium.
Nếu có lỗi xảy ra, bạn có thể liên hệ với team thông qua một trong các phương thức: email đến helloengnovate@gmail.com hoặc nhắn tin qua facebook.com/engnovate.
Vì toàn bộ công cụ trên website đều có thể sử dụng thử miễn phí, Engnovate không hỗ trợ hoàn tiền.