shezion Hacker News • Recommends
On “Ulam Spiral”
#3blue1brown#primenumbers#dirichlet'stheorem
8.7M subscribers • 42 videos on Hallway
Intermediate. Assumes working knowledge.
7.6M views7 years ago7 recommendations
Computer scienceMath for programmersAlgorithmsComputation and complexity
Grant Sanderson explains why plotting prime numbers in polar coordinates creates spiral patterns, using modular arithmetic and rational approximations of pi.
A curious pattern, approximations for pi, and prime distributions. Help fund future projects: patreon.com/3blue1brown An equally valuable form of support is to simply share some of the videos. Special thanks to these supporters: 3b1b.co/spiral-thanks Based on this Math Stack Exchange post: math.stackexchange.com/questions/885879/meaning-of-rays-in-p… Want to learn more about rational approximations? See this Mathologer video. youtu.be/CaasbfdJdJg Also, if you haven't heard of Ulam Spirals, you may enjoy this Numberphile video: youtu.be/iFuR97YcSLM Dirichlet's paper: arxiv.org/pdf/0808.1408.pdf Timestamps: - The spiral mystery - Non-prime spirals - Residue classes - Why the galactic spirals - Euler’s totient function - The larger scale - Dirichlet’s theorem - Why care? Corrections: : In the video, I say that Dirichlet showed that the primes are equally distributed among allowable residue classes, but this is not historically accurate. (By "allowable", here, I mean a residue class whose elements are coprime to the modulus, as described in the video). What he actually showed is that the sum of the reciprocals of all primes in a given allowable residue class diverges, which proves that there are infinitely many primes in such a sequence. Dirichlet observed this equal distribution numerically and noted this in his paper, but it wasn't until decades later that this fact was properly proved, as it required building on some of the work of Riemann in his famous 1859 paper. If I'm not mistaken, I think it wasn't until Vallée Poussin in (1899), with a version of the prime number theorem for residue classes like this, but I could be wrong there. In many ways, this was a very silly error for me to have let through. It is true that this result was proven with heavy use of complex analysis, and in fact, it's in a complex analysis lecture that I remember first learning about it. But of course, this would have to have happened after Dirichlet because it would have to have happened after Riemann! My apologies for the mistake. If you notice factual errors in videos that are not already mentioned in the video's description or pinned comment, don't hesitate to let me know. Thanks to these viewers for their contributions to translations Hebrew: Omer Tuchfeld ------------------ These animations are largely made using manim, a scrappy open-source python library: github.com/3b1b/manim If you want to check it out, I feel compelled to warn you that it's not the most well-documented tool, and it has many other quirks you might expect in a library someone wrote with only their own use in mind. Music by Vincent Rubinetti. Download the music on Bandcamp: vincerubinetti.bandcamp.com/album/the-music-of-3blue1brown Stream the music on Spotify: open.spotify.com/album/1dVyjwS8FBqXhRunaG5W5u If you want toWhat people say. Highly recommended as an exceptionally clear and beautiful explanation of prime number spirals and modular arithmetic.
shezion Hacker News • Recommends
On “Ulam Spiral”
excessiveon Hacker News • Recommends
On “Unexpected Beauty in Primes”
hinkleyon Hacker News • Recommends
On “Why do electron shells have set limits? (1999)”
lupireon Hacker News • Recommends
On “The Prime Hexagon”
andrewflnron Hacker News • Recommends
On “The Prime Hexagon”
zimpenfishon Hacker News • Recommends
On “Breakthrough a step toward revealing hidden structure of prime numbers”
godelskion Hacker News • Recommends
On “Ask HN: What is the best software to visualize a graph with a billion nodes?”
mdieselon Hacker News • Mentions
On “How Many Decimals of Pi Do We Really Need? (2016)”
sargstuffon Hacker News • Mentions
On “Λ-2D: Exploration of Drawing as Programming Language, Ideas from Lambda Calculus”
curtisblaineon Hacker News • Mentions
On “Footsteps of pi”
mikhailfrancoon Hacker News • Mentions
On “Plotting Prime Numbers (2021)”
nmiloon Hacker News • Mentions
On “Numbers Are Leaves”