Plotting primes in polar coordinates reveals spirals from geometry and π approximations, not primes, ultimately demonstrating Dirichlet's theorem on prime distribution among residue classes.
The video explores a striking visualization—plotting integers and primes in polar coordinates—to reveal how the apparent spiral patterns arise not from primes themselves but from geometry and rational approximations of π. It shows that all integers form Archimedean spirals, and that prime-only rays correspond to residue classes modulo 6, since primes (except 2 and 3) must sit at 1 or 5 above a multiple of 6. The tightness of the spirals is tied to famous approximations like 22/7 and 355/113 for π, with step sizes near full rotations creating the illusion of straight lines. From these observations, the video introduces Dirichlet's theorem, which guarantees that primes are evenly distributed among allowed residue classes, such as last digits 1, 3, 7, and 9, each occurring about 25% of the time. Ultimately, it argues that even a playful, unimportant plot can lead to deep mathematics, making independent discovery a valuable path to understanding formal results.
▶ 11:20 710 radians is almost exactly 113 full rotations, because 355/113 is a famously good approximation to pi — this is why the spiral looks so tight.
▶ 12:16 With step size 710, each new point is at nearly the same angle, so sequences appear as almost straight lines; only after extreme zoom does a gentle spiral emerge, illustrating how good the approximation really is.
▶ 13:40 Filtering out residues divisible by the prime factors of 710 (2, 5, 71) explains why the prime-only pattern forms clumps of 4, with some clumps missing a "tooth" — leaving 280 eligible residue classes that empirically contain primes quite evenly.
Load the full timestamped transcript on demand and click any time to jump in the video.