TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Prime-generating fractions

86 点作者 lesterbuck超过 11 年前

4 条评论

pontifier超过 11 年前
The way this is constructed is interesting, but it doesn&#x27;t appear that a real sequence to generate primes is required, just a list of them:<p>D=0<p>SUM=0<p>for n:<p><pre><code> D += num_digits(PRIME[N]) &#x2F;&#x2F; +1 for a nice single 0 between them SUM += PRIME[n]&#x2F;(10^D) print fraction(SUM)</code></pre>
评论 #6541258 未加载
评论 #6541069 未加载
abecedarius超过 11 年前
From the title I expected <a href="http://en.wikipedia.org/wiki/FRACTRAN" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;FRACTRAN</a> (see the list of fractions at the top).
mathattack超过 11 年前
It borrows one problem from Project Euler and seems to scream for another.
yeukhon超过 11 年前
Okay. Very interesting. For those who don&#x27;t understand like me, what is the technical use of this? Where will this be used? Are we somehow going to use this in cryptography?
评论 #6541971 未加载