7 is the largest prime followed by a cubic number
jott.live
jott.live
The proof is really simple, but the fact is quite unintuitive (at least for me).
Every prime is double of an integer + 1, except for 2. This follows because primes are integers, integers are either 2 times n or 2 times n+1 and numbers representable as 2 times n have 2 as a prime factor, if n > 1. Hence, except for 2.
Overall, number theory is one example to me how very, very simple concepts are actually hard - because you're not trained to look for them. The proof is just ... obvious once pointed out. But why would you look for it with such simple manners?
Suppose p=x^n-1 is prime.
Note that:
x^n - 1 = (x^n + x^(n-1) +... + x^2 + x)
-( x^(n-1) +... + x^2 + x +1)
=>x^n-1 = (x^(n-1) + x^(n-2) + ... + x + 1)(x-1)
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.Therefore if x^n-1 is prime, x must be 2. Damn that'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.
Primes of this form are called Mersenne primes if you want more information on them.
for clarity p = (2^n)-1
Could somebody tell me why each of the factor components must be equal to one?
Since p = (x^2 + x + 1)(x - 1), and both of those factors are integers, if both factors were not 1, then we would have demonstrated a factoring of p; therefore p would be composite.
If you wanted to be super formal, you would have to deal with the possibility that the factors were -1, but that is more of an uninteresting technicality.
> For $ p $ to be prime either $ x^2 + x + 1 = 1 $ or $ x - 1 = 1 $.
That’s not quite true. In general, if p is prime and p=a·b for integers a and b, then at least one of a and b is 1 or -1. The rest of the proof still works since, as you say, x != 0, so x + 1 != -1.
> then at least one of a and b is 1 or -1
I think you mean exactly one of a and b is 1 or -1
You really do have to consider negative factors.
edit: it's loaded now just fine, odd.
More specifically, when I open the page by clicking on the HN link or copy-pasting the URL into the bar and pressing Enter, the page renders OK. If I am to reload the page with Ctrl-R after that, it shows up in raw $ markup and no amount of refreshing helps. Furthermore, full reload (via Ctrl-Refresh) yields that 425 response.
Just FYI.