ExploreMy JigsMission
MakeMake a Jig

© JigSpace Inc. 2026

jig.comContact@JigSpace on X

Easy to Check, Hard to Find

publicRemix · Free
NBy Numa

The P versus NP Millennium Prize Problem on a night-time relief map of cities and routes

Transcript

9 steps · 3 min read
  1. 1

    Step 1: Easy to Check, Hard to Find

    A driver must visit every town on this map once and return home. If someone hands you a route, checking it takes moments. Finding the shortest route yourself is another matter entirely.

    P versus NP is one of the seven Millennium Prize Problems, announced in Paris in 2000 with US$1 million offered for each.

  2. 2

    Step 2: Checking vs Finding

    Solving a Sudoku means trying digits, backing up and trying again. Checking a finished grid is quick: every row, column and box must hold 1 to 9 exactly once. Watch the solver work, then check its answer.

Checking takes 27 quick looks. For ever bigger Sudoku grids, nobody knows a method that always solves them quickly.
  • 3

    Step 3: P and NP

    P is the family of problems a computer can solve quickly. NP is the family whose answers can be checked quickly, and every problem in P is in it. The great question: is every problem in NP secretly in P?

    “Quickly” means the work grows like a power of the size (n², n³…) rather than exploding like 2ⁿ as the problem gets bigger.

  • 4

    Step 4: The Explosion

    Why not simply try every route? With n towns there are (n − 1)! ÷ 2 different round trips. Add towns and watch the count explode: at a billion routes a second, 20 towns already take about two years.

    At 28 towns, checking every route at that speed would take longer than the universe has existed (13.8 billion years).

  • 5

    Step 5: Secretly the Same Problem

    In 1971 Stephen Cook showed that some problems in NP are the hardest of all; Leonid Levin found the same independently. Thousands are now known, from timetables to packing a van, and each can be translated into the others. A fast method for one would solve them all.

    Puzzle versions of Tetris and Minesweeper, and giant Sudokus, are NP-complete; Candy Crush is NP-hard. So is protein folding, in a simplified model.

  • 6

    Step 6: Nature’s Shortcuts

    Nature seems to cheat. Soap films between pins pull into short networks, a slime mould grew a network much like Tokyo’s railways, and ants find short paths to food. But they find good answers, not guaranteed best ones.

    In 2010, slime mould grown on oat flakes placed like the towns around Tokyo formed a network about as efficient as the real railway.

  • 7

    Step 7: Why Is It So Hard?

    To prove P ≠ NP, you must show that no clever method exists, including every program nobody has imagined yet. Worse, whole families of known proof techniques have been shown unable to settle the question.

    In a poll published in 2019, 109 of 124 respondents (88%) guessed that P ≠ NP. But a guess is not a proof.

  • 8

    Step 8: Two Possible Worlds

    If P = NP, the codes that protect passwords, banking and cryptocurrencies could be cracked, but perfect routes, schedules, chip designs, medicines and even mathematical proofs could be found quickly. If P ≠ NP, some problems are truly hard, and that hardness is what our codes hope to rely on.

    Even a proof that P = NP might change little at first: the fast method could still be too slow to use, or the proof might not say how to build it.

  • 9

    Step 9: The Million-Dollar Question

    Of the seven Millennium Prize Problems, only the Poincaré conjecture has officially been solved. P versus NP is still open, and US$1 million is still on offer. Whoever settles it will change what we know about the limits of computing.

    A solution must be published, wait at least two years and win general acceptance before the Clay Mathematics Institute can award the prize.