mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2009-01-28, 04:48   #34
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

597910 Posts
Default

Quote:
Originally Posted by Joshua2 View Post
So if you are trying k's with a ten digits you might need ones that large, but there are plenty of k's and n's to check that are fast. I am doing some right now and it is churning.
Yes, but to find a counterexample to the log k version of your conjecture you need to find very special numbers which means examining a lot. If there was a counterexample it would take a lot of effort to find. Finding one point is easy... finding a trillion is hard.

Quote:
Originally Posted by Joshua2 View Post
Do you still believe my conjecture is related to the size of prime gaps?
Of course. If all prime gaps are small, then Q = nextprime(k * p# + 2) - k * p# is small. In particular, if all prime gaps are <= a * log(k * p#)^2 then Q <= 1 + a * log(k * p#)^2 = 1 + a * (log k + log p#)^2 ~ a * (log k + p)^2. Remember that if Q < p^2 it is prime...

Further, if p must be at least the kth prime, then p > k log k and so Q = O(p^2).

Last fiddled with by CRGreathouse on 2009-01-28 at 04:51
CRGreathouse is offline   Reply With Quote
Old 2009-01-28, 05:48   #35
lavalamp
 
lavalamp's Avatar
 
Oct 2007
Manchester, UK

23·59 Posts
Default

Couter examples:
Code:
k=3829584908031798; \\ second iter
k=3829584908031800; \\ fourth iter
k=3829584908031801; \\ first and fourth iter
k=3829584908031803; \\ fourth iter
The first number is the odd one out here I believe, since it is an unintended counter-example. I aimed for the fourth terms to fall into the prime gap listed as number one in the table here. However, for the first counter example, k*7# falls just short of the prime gap. Instead it is for the second iteration that Q(x) randomly happens to not be prime.

Edit: There should be yet more counter examples for 26,807,094,356,222,589 < k < 26,807,094,356,222,637 for the third iteration.

Another edit: k=26807094356222590; is a juicy one, first, third and fourth iteration.

Last fiddled with by lavalamp on 2009-01-28 at 05:55
lavalamp is offline   Reply With Quote
Old 2009-01-28, 18:33   #36
Joshua2
 
Joshua2's Avatar
 
Sep 2004

13·41 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
Yes, but to find a counterexample to the log k version of your conjecture you need to find very special numbers which means examining a lot. If there was a counterexample it would take a lot of effort to find. Finding one point is easy... finding a trillion is hard.
I don't see the trillion point thing. It would still only take one counterexample to prove my conjecture wrong, and I actually found one, when I get home I can post it. I thought of a way to change my conjecture to make it work though.

Quote:
Originally Posted by CRGreathouse View Post
If all prime gaps are small, then Q = nextprime(k * p# + 2) - k * p# is small. In particular, if all prime gaps are <= a * log(k * p#)^2 then Q <= 1 + a * log(k * p#)^2 = 1 + a * (log k + log p#)^2 ~ a * (log k + p)^2.
I follow that.
Quote:
Originally Posted by CRGreathouse View Post
Remember that if Q < p^2 it is prime...
I remember it was said, I don't see how it is true. And what if Q >= p^2?

Quote:
Originally Posted by CRGreathouse View Post
Further, if p must be at least the kth prime, then p > k log k and so Q = O(p^2).
p must be greater than (log k)th prime I believe actually, which makes the problem significantly easier. With the big O notation, is that how fast the problem grows, so hard it is computationally right? I didn't follow how you got it, but it should be different using the (log k)th prime.
Joshua2 is offline   Reply With Quote
Old 2009-01-28, 18:38   #37
Joshua2
 
Joshua2's Avatar
 
Sep 2004

13×41 Posts
Default

Quote:
Originally Posted by lavalamp View Post
Couter examples:
Code:
k=3829584908031798; \\ second iter
k=3829584908031800; \\ fourth iter
k=3829584908031801; \\ first and fourth iter
k=3829584908031803; \\ fourth iter
That's cool how you found these with prime gaps. I believe they don't invalidate my conjecture, because I was saying n>log k, which would mean the error would need to be in the 16th term or greater to invalidate. If you look at my previous posts I found some errors of the fourth term (and other with much smaller k values, and even a error in the 11th term with a big number.) Last night I found a number with 6 digits that had an error on the 7th term, which invalidates my conjecture. To fix it, I have to say instead of n>log k, n>(log(k)+1).
Joshua2 is offline   Reply With Quote
Old 2009-01-29, 06:10   #38
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

175B16 Posts
Default

Quote:
Originally Posted by Joshua2 View Post
I remember it was said, I don't see how it is true.
Suppose Q has a prime factor <= p, call it r. Then r divides p# (because p# = p * ... * r * ... * 5 * 3 * 2) so r divides k * p# + Q. Thus k * p# + Q is composite. So if k * p# + Q is prime, Q has no prime factors <= p. And if Q has no prime factors <= p and Q < p^2, Q is prime. (In fact if Q < nextprime(p + 1)^2 then Q is prime.)

This is basic stuff.

Quote:
Originally Posted by Joshua2 View Post
And what if Q >= p^2?
The point of the analysis is to show that it's very hard for that to happen. If it does, Q is much more likely to be prime than a number of its size. For example, if p = 23, the 'probability' that Q is prime is about 6.1 / log Q rather than 1 / log Q.

Quote:
Originally Posted by Joshua2 View Post
p must be greater than (log k)th prime I believe actually, which makes the problem significantly easier. With the big O notation, is that how fast the problem grows, so hard it is computationally right? I didn't follow how you got it, but it should be different using the (log k)th prime.
Sorry, my mistake. The result still holds in that case: Q = O(p^2).

This has nothing to do with "hard it is computationally". It says that Q is 'about at most' p^2. Google "Big O notation" for a precise definition.
CRGreathouse is offline   Reply With Quote
Old 2009-01-30, 04:11   #39
Joshua2
 
Joshua2's Avatar
 
Sep 2004

13×41 Posts
Default

Q (869700 p(6th prime)) = 291, not prime. That is quite a large prime gap, and disproves my conjecture of log k. I believe the conjecture works revised to log k + 1.
k=23094906 7th was bad
k=272703171 8th was bad.
I searched for the first occurences of each bad term. It appears to be exponential doesn't it?
Joshua2 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Let's attack the Bayesian-ECM-bounds again fivemack Math 34 2021-08-05 10:55
Nuke attack - run or hide? MooMoo2 Soap Box 40 2018-01-19 23:48
TF: A job half done? davieddy Lounge 35 2010-10-01 20:18
Attack of the Cosmic Rays S485122 Hardware 3 2010-08-24 01:19
Attack of the Killer Zombies ewmayer Lounge 12 2007-01-30 05:56

All times are UTC. The time now is 22:11.


Fri Aug 6 22:11:55 UTC 2021 up 14 days, 16:40, 1 user, load averages: 2.67, 3.02, 2.89

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.