![]() |
|
|
#34 | ||
|
Aug 2006
597910 Posts |
Quote:
Quote:
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 |
||
|
|
|
|
|
#35 |
|
Oct 2007
Manchester, UK
23·59 Posts |
Couter examples:
Code:
k=3829584908031798; \\ second iter k=3829584908031800; \\ fourth iter k=3829584908031801; \\ first and fourth iter k=3829584908031803; \\ fourth iter 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 |
|
|
|
|
|
#36 | ||
|
Sep 2004
13·41 Posts |
Quote:
Quote:
I remember it was said, I don't see how it is true. And what if Q >= 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. |
||
|
|
|
|
|
#37 |
|
Sep 2004
13×41 Posts |
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).
|
|
|
|
|
|
#38 | |
|
Aug 2006
175B16 Posts |
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. 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:
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. |
|
|
|
|
|
|
#39 |
|
Sep 2004
13×41 Posts |
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? |
|
|
|
![]() |
| 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 |