Why do prime numbers show up as diagonals in a spiral? In this video, I create a visualization in JavaScript () of the Ulam Spiral (aka Prime Spiral) named for Polish Mathematician Stanislav Ulan. Web Editor Sketches: 🕹️ Prime (Ulam) Spiral: 🕹️ Number Spiral: 🕹️ Prime vs Random Spiral: 🕹️ Shapes and Color: 🕹️ Incorporating 3D: 🎥 Previous video: 🎥 All videos: Links discussed in this video:
Hide player controls
Hide resume playing