Mind-Bending Math & GamesNumber Theory

The Prime Spiral

Write numbers in a spiral and primes line up in diagonals

Write the numbers in a spiral, mark the primes, and lines appear. Why would primes, famous for looking random, line up?

You'll find out

  • Who doodled the first prime spiral
  • Why primes skip every other diagonal
  • Which formula makes 40 primes in a row

Why it matters

Primes guard your online banking, and their hidden patterns are still among math's great open questions.

About 3 min6 interactive slides · 5 questionsLesson 624 · Zone 70

Play this lesson

Free to play in your browser or on iPhone

More in this zone

  1. 622Set TheoryBanach–TarskiCut a ball into pieces and reassemble two identical balls
  2. 623Mechanical Energy StorageThe FlywheelA spinning wheel can store energy in its motion
  3. 625Data StorageWhy SSDs Wear OutEvery save slightly damages a flash memory cell
  4. 626Depth PerceptionParallaxNearby things move faster than distant ones, and that's how we see depth
  5. 627Matching MarketsThe Kidney ChainAlgorithms link strangers so more transplants happen
  6. 628Swarm RoboticsA Thousand Robots, No LeaderSimple machines can organize themselves with local rules
  7. 629Computability TheoryThe Halting ProblemSome questions no computer will ever be able to answer
  8. 630Bayesian ReasoningThe Doomsday ArgumentYour birth order might be evidence about humanity's future