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.

Pi, PINs and Permutations

25 pointsby squeakynickabout 10 years ago

9 comments

pierreabout 10 years ago
If you want to play more with it and try to found when all 7 digit combination of pi repeat themself, I build a Pi as a service API for pi day. It can serve the first 1 billions digit of pi over http.<p><a href="http://piaas.org/" rel="nofollow">http:&#x2F;&#x2F;piaas.org&#x2F;</a>
goodmachineabout 10 years ago
I love Datagenetics posts. Related:<p><a href="https://github.com/philipl/pifs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;philipl&#x2F;pifs</a>
评论 #9232370 未加载
marchelzoabout 10 years ago
6716 confirmed most secure 4-digit PIN.
评论 #9232455 未加载
Sukottoabout 10 years ago
Why is the first pin 1415 and not 3141?<p>[edit to add] and I don&#x27;t mean that in a snarky way. Was just curious.
评论 #9232413 未加载
DEinspanjerabout 10 years ago
Just a random question that popped into my head while reading (thank you for the article!)... What would be the longest repetitions of digits within various orders of magnitude of Pi?<p>In other words, the first 10 characters (again looking at only the fractional portion:<p>1415926535<p>The longest repetition is a length of one and the digit is 1.<p>Playing with regexes, I found:<p>In 100 digits, you get a repetition of the digits 592<p>In 1000 digits, the first longest repetition is 23846<p>In 10000 digits, I found a six digit repetition, 120190 but at that point, the quadradic nature of the regex made searching for 7 impossible so I would probably write a program that used something like suffix trees to get further.
rnhmjojabout 10 years ago
There is this service to search in the digits: <a href="http://www.angio.net/pi/piquery" rel="nofollow">http:&#x2F;&#x2F;www.angio.net&#x2F;pi&#x2F;piquery</a>
grenabout 10 years ago
Is there any statistical&#x2F;probabilistic explanation of why the answer is almost 100&#x27;000 ?
评论 #9232948 未加载
评论 #9232762 未加载
deepsunabout 10 years ago
There&#x27;s no proof that pi contains every possible number combinations. It&#x27;s a common misconception that somewhere in pi you&#x27;ll find everything.
stansmithabout 10 years ago
One of the other articles referenced, about De Bruijn sequences, is much more interesting <a href="http://www.datagenetics.com/blog/october22013/index.html" rel="nofollow">http:&#x2F;&#x2F;www.datagenetics.com&#x2F;blog&#x2F;october22013&#x2F;index.html</a>
评论 #9232726 未加载