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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

7 is the largest prime followed by a cubic number

69 点作者 bwasti超过 6 年前

4 条评论

montenegrohugo超过 6 年前
Math is funny. There&#x27;s an infinite amount of primes, and even though we know a lot of them there&#x27;s still more left (read:infinite). But at the same time, with high-school level algebra we can prove that the largest prime followed by a cubic number is 7.<p>The proof is really simple, but the fact is quite unintuitive (at least for me).
评论 #17904835 未加载
Tomminn超过 6 年前
Huh, I never realized this was this simple. Fleshing out the general case the post mentions.<p>Suppose p=x^n-1 is prime.<p>Note that:<p><pre><code> x^n - 1 = (x^n + x^(n-1) +... + x^2 + x) -( x^(n-1) +... + x^2 + x +1) =&gt;x^n-1 = (x^(n-1) + x^(n-2) + ... + x + 1)(x-1) </code></pre> So if p=x^n-1 is prime, one of the factors must be equal to 1. If the first factor is 1, this implies x=0 and so the second factor is -1. Therefore the second factor must be 1, and x=2.<p>Therefore if x^n-1 is prime, x must be 2. Damn that&#x27;s cool. At first I thought any number 2^n-1 would be prime, but then I realized that obviously the left hand factor can have subfactors. Which is to say I remembered 15 exists.
评论 #17905200 未加载
评论 #17905287 未加载
BennyH26超过 6 年前
The proof states: &quot;For n to be prime either x² + x + 1 = 1 or x - 1 = 1&quot;<p>Could somebody tell me why each of the factor components must be equal to one?
评论 #17904367 未加载
评论 #17904363 未加载
kowdermeister超过 6 年前
What&#x27;s the deal with all these $ symbols?
评论 #17904561 未加载
评论 #17905420 未加载
评论 #17904559 未加载