TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Plotting Prime Numbers (2021)

38 pointsby aragonite5 months ago

5 comments

mikhailfranco5 months ago
<i>Ulam Spiral</i> (and see ref to Martin Gardner&#x27;s famous SciAm article):<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Ulam_spiral" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Ulam_spiral</a><p><i>Why do prime numbers make these spirals? | Dirichlet’s theorem and pi approximations</i> - 3Blue1Brown<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=EK32jo7i5LQ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=EK32jo7i5LQ</a>
tess0r5 months ago
you can not only map prime numbers in a circle&#x2F;spiral, but also in a triangle and get some nice knitting patterns :)<p><a href="https:&#x2F;&#x2F;tessi.github.io&#x2F;walking-the-ulam-spiral&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tessi.github.io&#x2F;walking-the-ulam-spiral&#x2F;</a>
classic9595 months ago
If you&#x27;re plotting primes, all the coordinates where you&#x27;re not plotting are non-prime - so every 2nd coordinate will be blank. As will every 3rd and every 4th, 5th, 10th, 11th. etc etc.<p>Surely that&#x27;s where the pattern comes from.
block_dagger5 months ago
I’m not a mathematician so correct me if I’m wrong, but the patterns that emerge or more the natural result of the plotting method vs revealing anything meaningful about the distribution of primes.
评论 #42429341 未加载
评论 #42429293 未加载
y425 months ago
shameless self promotion:<p>i built an &quot;animation framework&quot; in JavaScript around it where you can control and animate several parameters and even record the animation<p><a href="https:&#x2F;&#x2F;primes.nickyreinert.de&#x2F;" rel="nofollow">https:&#x2F;&#x2F;primes.nickyreinert.de&#x2F;</a>