Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Story
How we grew from 0 to 3 million users
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

The Riddle That Seems Impossible Even If You Know The Answer

June 30, 2022
by
Veritasium
YouTube video player
The Riddle That Seems Impossible Even If You Know The Answer

TL;DR

The 100 prisoners riddle presents a seemingly impossible probability problem, but a mathematical strategy involving loops increases their chances of success to nearly one in three.

Transcript

There is a riddle that is so counterintuitive, it still seems wrong even if you know the answer. - You'd think it's an almost impossible number. - I feel like you probably hit me with some truth bomb. - I mean, if you're trying to create controversy and you're trying to confuse people, you're gonna succeed. (both laughs) - There are a bunch of YouT... Read More

Key Insights

  • 😘 The probability of success for the 100 prisoners is extremely low (0.0000000038%) if they search randomly.
  • 🍱 The loop strategy increases their chances to 31% by following the numbers in the boxes.
  • 🔁 The length of the loop determines whether a prisoner finds their number or not.
  • 💋 Renumbering the boxes redistributes the slips and brings the probability back to 31% if a malicious guard arranges a long loop.
  • #️⃣ As the number of prisoners increases, the probability of success remains around 30.7%.
  • 🍻 The loop strategy links everyone's outcomes, resulting in either complete success or failure.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the best strategy for the 100 prisoners to find their numbers?

The best strategy is for each prisoner, when entering the room, to open the box with their number and continue following the numbers in the boxes until they find their slip. This increases their chances of success to 31%.

Q: How does the length of the loop affect the prisoners' chances of finding their numbers?

If the loop is shorter than 50, the prisoners will find their number. But if it's longer, they won't have enough boxes to search and will fail to find their numbers.

Q: How does renumbering the boxes affect the prisoners' chances of success?

Renumbering the boxes essentially redistributes the slips, resulting in a random arrangement of loops. This brings the prisoners back to their 31% chance of survival.

Q: What happens if there is a sympathetic guard or a malicious guard in the room?

A sympathetic guard can guarantee success by swapping the contents of two boxes, breaking any loop longer than 50. A malicious guard who arranges the numbers to form a loop longer than 50 can be counteracted by arbitrarily renumbering the boxes, returning the probability of success to 31%.

Summary & Key Takeaways

  • The riddle involves 100 prisoners searching for their own numbers in 100 boxes. If even one prisoner fails, they will all be executed. Randomly searching gives them a 0.0000000038% chance of success.

  • However, by using a loop strategy, where prisoners follow the numbers in the boxes, their chances of success increase to 31%.

  • The length of the loop determines whether prisoners find their numbers or not. If the loop is shorter than 50, they will find it, but if it's longer, they won't have enough boxes to search.

  • The probability of finding a loop longer than 50 is 69%, meaning there is a 31% chance of success using the loop strategy.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Veritasium 📚

What Is Counter-Snapping and How Does It Work? thumbnail
What Is Counter-Snapping and How Does It Work?
Veritasium
Where Do Trees Get Their Mass? thumbnail
Where Do Trees Get Their Mass?
Veritasium
What Is the Dzhanibekov Effect and How Does It Work? thumbnail
What Is the Dzhanibekov Effect and How Does It Work?
Veritasium
How Special Relativity Makes Magnets Work thumbnail
How Special Relativity Makes Magnets Work
Veritasium
How We’re Fooled By Statistics thumbnail
How We’re Fooled By Statistics
Veritasium
What They (Probably) Don't Teach You About Rainbows At School thumbnail
What They (Probably) Don't Teach You About Rainbows At School
Veritasium

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Our Story
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.