Why do prime numbers make these spirals? | Dirichlet’s theorem and pi approximations
What it is
3Blue1Brown explains why plotting primes in polar coordinates produces spiral patterns, using modular arithmetic, Dirichlet's theorem and rational approximations of pi.
Why Hacker News recommends it
Frequently recommended as the clearest explanation of prime spirals and the Ulam spiral.
- 7 people recommended it
- 5 different months
- 1 strong recommendations
- first 2019, last 2024
What HN commenters said
“Here is one of the most enlightening explanations for these kinds of spirals I have seen by 3blue1brown”
Enlightening explanation of prime spirals
shezi, 2021-08 · Strong recommendation · in “Ulam Spiral”
“after watching the following video, I think it just says something about modular arithmetic and rational approximations of 2 Pi.”
Spirals reflect modular arithmetic and approximations of 2 Pi
excessive, 2019-11 · Recommendation · in “Unexpected Beauty in Primes”
“I really enjoyed 1brown3blue breaking down why prime numbers form patterns when graphed in polar coordinates.”
Breaks down why primes form patterns in polar coordinates
hinkley, 2020-07 · Recommendation · in “Why do electron shells have set limits? (1999)”
“3B1B has a semi related video”
Related video on properties of primes
lupire, 2021-03 · Recommendation · in “The Prime Hexagon”
“this video by 3Blue1Brown explains why primes plotted as (p, p) in polar coordinates produce interesting patterns.”
Explains why primes plotted in polar coordinates form patterns
andrewflnr, 2021-03 · Recommendation · in “The Prime Hexagon”
“3b1b[2] (with a particularly good explanation of why it happens)”
Particularly good explanation of why prime spiral happens
zimpenfish, 2024-08 · Recommendation · in “Breakthrough a step toward revealing hidden structure of prime numbers”
“Grant's teaching style is so good you might even convince yourself of the thing he is disproving”
Shows how visualizations can trick us into seeing patterns
godelski, 2024-08 · Recommendation · in “Ask HN: What is the best software to visualize a graph with a billion nodes?”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: primes, ulam spiral, modular arithmetic, pi approximation, 3blue1brown
Also recommended by the same people
explainerThe Banach–Tarski ParadoxVsauce · 6 HN recommenders · 2015–2024
explainerThis high-speed rail project is a warning for the USVox · 2 HN recommenders · 2022–2023
explainerAnimated Voting MethodsUnify The Vote · 3 HN recommenders · 2018–2022
explainerHow our voting system (and IRV) betrays your favourite candidateThe Center for Election Science · 5 HN recommenders · 2014–2023
explainerWhat P vs NP is actually aboutPolylog · 4 HN recommenders · 2024–2026
demoHarder Drive: Hard drives we didn't want or needsuckerpinch · 12 HN recommenders · 2022–2025
tutorialProfessional SMT Soldering: Hand Soldering Techniques - Surface MountJohn Gammell · 2 HN recommenders · 2016–2023
explainerBayes theorem, the geometry of changing beliefs3Blue1Brown · 2 HN recommenders · 2022–2024