tubeshowcase●1,671,250 videos♡ My collection 0
← Learn to Code

Learn to Code24:13

Coding Challenge 167: Ulam Spiral of Prime Numbers

The Coding Train ↗

From the creator

💻 Code: https://thecodingtrain.com/challenges/167-prime-spiral ✨ Watch the uncut version on Nebula! https://nebula.tv/videos/codingtrain-the-prime-spiral-uncut-version-coding-challenge-167 ✨ Watch this video ad-free on Nebula! https://nebula.tv/videos/codingtrain-the-prime-spiral-coding-challenge-167 Why do prime numbers show up as diagonals in a spiral? In this video, I create a visualization in JavaScript (p5.js) of the Ulam Spiral (aka Prime Spiral) named for Polish Mathematician Stanislav Ulan. p5.js Web Editor Sketches: 🕹️ Prime (Ulam) Spiral: https://editor.p5js.org/codingtrain/sketches/0Ud-XsaYb 🕹️ Number Spiral: https://editor.p5js.org/codingtrain/sketches/Zs65bV-Al 🕹️ Prime vs Random Spiral: https://editor.p5js.org/codingtrain/sketches/3np1hBlXD 🕹️ Shapes & Color: https://editor.p5js.org/codingtrain/sketches/mCvvSKpZ5 🕹️ Incorporating 3D: https://editor.p5js.org/codingtrain/sketches/-eX078HZ5 🎥 Previous video: https://youtu.be/55iwMYv8tGI?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 Next video: https://youtu.be/NJCiUVGiNyA?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: 📺 CodingTrainChooChoo on Twitch: https://www.twitch.tv/codingtrainchoochoo 2️⃣ Mathematical Games: The remarkable lore of the prime numbers (1964): https://www.scientificamerican.com/article/mathematical-games-1964-03/ 📓 An Observation on the Distribution of Primes, M. Stein and S. M. Ulam: https://doi.org/10

Published 2022-02-20 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code