import {type NextPage} from "next"; import Head from "next/head"; import BoxTable from "@/components/BoxTable"; import NoSSR from "react-no-ssr"; import Link from "next/link"; const Home: NextPage = () => { return ( <> 100prisoners.com

100Prisoners.com

This website is dedicated to exploring the intriguing 100 prisoners problem, a mathematical challenge that seems astronomically impossible at first, yet can leverage mathematics to raise the chances one hundred octillion.

This thought experiment presents a scenario in which a group of 100 prisoners are tasked with finding their own numbered slip among a collection of 100 boxes, each containing a random permutation of the numbers 1 through 100.

  • Each prisoner is allowed to open 50 boxes.
  • Each prisoner must find their own number within a box, or they fail.
  • All prisoners must be successful - if even one fails, they all lose.
  • Prisoners cannot mark, relay or in any way communicate with each other.

Given the premise, the lack of options, and the incredibly tiny odds, one would presume this challenge to be impossible - but it turns out there is a strategy that guarantees a 31% chance of success!

Created by Ryan Walters
); }; export default Home;