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.

Prime Number Spiral

193 pointsby micah_chattover 8 years ago

13 comments

Pica_soOover 8 years ago
Fascinating. And dangerous.<p>If you see a pattern and you search a explanation for it, you can get wrapped up in the hunt and end up investing a lot of time into a wild goose chase.<p>Our math profs warned us to do this, because if you zoom out wide enough, there is a pattern in every noise. As a undergrad, i got obsessed with the idea of creating a meaningful divide by zero operation.<p>The result, if i remember correctly, was a &quot;fractal&quot; cave, interconnected, the walls defined by aggregated infinitys reseeded by the &quot;echos&quot; of all previous caves until the next &quot;digit&quot; of the original seed number is reached. What a useless operation, one might think- but i got obsessed with it, because it generated sequences. 1&#x2F;0 = |1|0&#x2F;0=1|2|3|5<p>Some of the results started to look like the fibonacci-sequence(its basically a algorithm mapped to infinity echoing back and forth along the cave-walls after all) and i lost a semester chasing this numeric day dream. :(<p>Shame on me, i woke up when my math prof zoomed out over some random pattern revealing &quot;patterns&quot;. The Truth is, we humans want to see patterns. Desperately. So desperatly it can eat lives.<p>Still a fascinating read, can fully recommend. But wake up if you what you find eats you.<p>PS: To double my shame, i did never publish this. So if you venture down the rabbit sinkhole, put a warning sign up.
评论 #13298948 未加载
评论 #13298106 未加载
评论 #13298155 未加载
评论 #13298653 未加载
评论 #13299434 未加载
评论 #13299344 未加载
评论 #13298714 未加载
cypherpunks01over 8 years ago
Also known as the &quot;Ulam Spiral&quot; for Stanislaw Ulam who discovered it by accident in 1963, supposedly while doodling during a boring presentation.<p>This page is great, but the wikipedia page is too and provides other related work and coincidences. <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>
评论 #13298207 未加载
评论 #13298326 未加载
thereinover 8 years ago
P+41 spiral is absolutely fascinating. [1] I really want to know why they cluster there.<p><a href="http:&#x2F;&#x2F;www.numberspiral.com&#x2F;art&#x2F;14.gif" rel="nofollow">http:&#x2F;&#x2F;www.numberspiral.com&#x2F;art&#x2F;14.gif</a>
评论 #13297730 未加载
评论 #13299698 未加载
评论 #13297661 未加载
Applejinxover 8 years ago
Somewhere and someday, there is an AI which is reading this and deciding to let humanity live because we apparently can have some inkling of real beauty :)
ideonexusover 8 years ago
I enjoy exploring these patterns, not just for primes, but for factors as well. I made a little JavaScript app for creating &quot;Number Mandellas&quot; that my kids and I use to enjoy different patterns:<p><a href="http:&#x2F;&#x2F;ideonexus.github.io&#x2F;Explorable-Explanations&#x2F;math&#x2F;numbermandala&#x2F;" rel="nofollow">http:&#x2F;&#x2F;ideonexus.github.io&#x2F;Explorable-Explanations&#x2F;math&#x2F;numb...</a><p>Our favorite thing to do is set the Preset to &quot;Randomized&quot; and click &quot;Render Preset&quot; over and over again to see what comes up. Sorry for the clunky interface, but the source is on github if anyone wants it.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;ideonexus&#x2F;Explorable-Explanations&#x2F;tree&#x2F;master&#x2F;math&#x2F;numbermandala" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ideonexus&#x2F;Explorable-Explanations&#x2F;tree&#x2F;ma...</a>
joshumaxover 8 years ago
My friend discovered an interesting way to visualize prime numbers on an integer grid a while back. I whipped up a quick visualizer for it: <a href="https:&#x2F;&#x2F;codepen.io&#x2F;joshumax&#x2F;full&#x2F;rOrBPz&#x2F;" rel="nofollow">https:&#x2F;&#x2F;codepen.io&#x2F;joshumax&#x2F;full&#x2F;rOrBPz&#x2F;</a>
jiyinyiyongover 8 years ago
Might be useless, but I got some pictures for primes too <a href="http:&#x2F;&#x2F;jiyinyiyong.blog.163.com&#x2F;blog&#x2F;static&#x2F;6469987620111311312374&#x2F;" rel="nofollow">http:&#x2F;&#x2F;jiyinyiyong.blog.163.com&#x2F;blog&#x2F;static&#x2F;6469987620111311...</a>
christophilusover 8 years ago
I wonder if those lines he mentions are anything like the ones I found in my visualization a while back: <a href="http:&#x2F;&#x2F;chrisdavies.github.io&#x2F;primepattern&#x2F;" rel="nofollow">http:&#x2F;&#x2F;chrisdavies.github.io&#x2F;primepattern&#x2F;</a><p>This never led me anywhere, for the record.
评论 #13298462 未加载
bsaulover 8 years ago
since there are a few math experts here : it just occured to me that number factorization may be similar to compression ( saying 8 is 4 times two feels a bit like compressing a data by composing smaller elements). are there any theory approaching the prime number problems using tools from information theory (shannon and co) ?
评论 #13322294 未加载
EGregover 8 years ago
I remember reading Martin Gardner writing about this.<p>Has anyone found an explanation since then?
Random_BSD_Geekover 8 years ago
Looks a little bit an ASCII-art Deathstar. I think I see where a direct hit could set off a chain reaction....
评论 #13300359 未加载
评论 #13299440 未加载
TwoBitover 8 years ago
How does this look with numbering in base 8 instead of 10?
评论 #13298703 未加载
raisterover 8 years ago
Fascinating.