![]() |
|
|
#276 |
|
Aug 2006
597910 Posts |
So you're suggesting that we can rule out numbers as Mersenne primes by trial division? Yes, that's a good method.
|
|
|
|
|
|
#277 | |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
Quote:
Last fiddled with by science_man_88 on 2010-08-01 at 20:08 |
|
|
|
|
|
|
#278 | |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Quote:
!
Last fiddled with by 3.14159 on 2010-08-01 at 20:16 |
|
|
|
|
|
|
#279 | |
|
Aug 2006
3·1,993 Posts |
Not sarcasm, just pointing out that this method is well-known. It *is* a good method.
Quote:
I think the fundamental problem here is that you're trying to use properties of the arithmetic sequence 24n + 7 to determine things about 2^p - 1, but 24n + 7 is so fat (contains ~ x/8log(x) primes up to x) that it's hard to say much at all about a sequence as thin as 2^p - 1 (which contains << log(x)/log(log(x)) primes up to x, probably only log(log (x)) primes). We're looking for needles in haystacks, but you're suggesting looking for needles in an exponentially bigger haystack... conjecturally, a double-exponentially bigger haystack. |
|
|
|
|
|
|
#280 | |
|
"Forget I exist"
Jul 2009
Dumbassville
203008 Posts |
Quote:
|
|
|
|
|
|
|
#281 | |
|
Aug 2006
3×1,993 Posts |
Quote:
If you can prove primality in time O(log^4 n) then this takes time O(x log^4 x) to find the Mersenne primes up to x. If you pretest with Miller-Rabin, the time drop to O(x log^3 x). If you use Lucas-Lehmer, it takes time O(log^3 x log log log x). |
|
|
|
|
|
|
#282 | |
|
"Forget I exist"
Jul 2009
Dumbassville
203008 Posts |
Quote:
24(5)+7 = 127 24(21)+7 = 511 can we knock out a lot of the sequence through using comparison of 24n+7 intersecting the list made by (6n-/+1)*p ? Last fiddled with by science_man_88 on 2010-08-02 at 16:06 |
|
|
|
|
|
|
#283 |
|
Aug 2006
3·1,993 Posts |
I don't know what you mean by that. It seems like a suggestion for some form of trial division, which would not be faster than the (very slow) method I proposed above.
|
|
|
|
|
|
#284 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
so starting with less and figuring a pattern to knock them out isn't going to be more efficient ?
|
|
|
|
|
|
#285 |
|
Aug 2006
3·1,993 Posts |
|
|
|
|
|
|
#286 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wheel Factorization | a1call | Factoring | 11 | 2017-06-19 14:04 |
| Efficient Test | paulunderwood | Computer Science & Computational Number Theory | 5 | 2017-06-09 14:02 |
| LL tests more credit-efficient than P-1? | ixfd64 | Software | 3 | 2011-02-20 16:24 |
| A Wheel | storm5510 | Puzzles | 7 | 2010-06-25 10:29 |
| Most efficient way to LL | hj47 | Software | 11 | 2009-01-29 00:45 |