mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2010-08-03, 20:11   #364
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

175B16 Posts
Default

Maybe we need to go in a different direction. sm88, suppose I gave you a prime p which I claimed was a Mersenne exponent. How would you prove that it was composite with your method? Feel free to give Pari code.
CRGreathouse is offline   Reply With Quote
Old 2010-08-03, 20:15   #365
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
Maybe we need to go in a different direction. sm88, suppose I gave you a prime p which I claimed was a Mersenne exponent. How would you prove that it was composite with your method? Feel free to give Pari code.
I don't have a code to prove that stuff yet but:

1) take (p-3)/2 to be the index to prove
2) use my sieve method (a formula linking this method to a proof for a index would be nice).

if it is shown to be eliminated it can't be prime if it isn't it MUST be prime.

one thing I found 24(85)+1 = 2047 prime it is found for 23 the bottom prime factor of that number.

so this eliminate some amount of checks.

Last fiddled with by science_man_88 on 2010-08-03 at 20:25
science_man_88 is offline   Reply With Quote
Old 2010-08-03, 20:22   #366
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
I don't have a code to prove that stuff yet but:

1) take (p-3)/2 to be the index to prove
2) use my sieve method (a formula linking this method to a proof for a index would be nice).

if it is shown to be eliminated it can't be prime if it isn't it MUST be prime.
So your idea is that, for a given exponent p, you have a set of divisors D such that if there is no d in D with d | (2^p - 1), 2^p - 1 is prime. (Presumably the breakthrough is that you can find a D that is much smaller than {3, 5, 7, 11, ..., sqrt(2^p)}.) Right?
CRGreathouse is offline   Reply With Quote
Old 2010-08-03, 20:31   #367
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
So your idea is that, for a given exponent p, you have a set of divisors D such that if there is no d in D with d | (2^p - 1), 2^p - 1 is prime. (Presumably the breakthrough is that you can find a D that is much smaller than {3, 5, 7, 11, ..., sqrt(2^p)}.) Right?
I must admit I know nothing of one part you are talking of:

d | (2^p - 1) <--have no idea what this means

well until I found out 24(85)+7 = 2047 and found with 23 I wasn't interested in factoring them at all actually.

Last fiddled with by science_man_88 on 2010-08-03 at 20:37
science_man_88 is offline   Reply With Quote
Old 2010-08-03, 20:48   #368
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
I must admit I know nothing of one part you are talking of
OK, so re-explain post #365. (My post was just trying to understand that post.) Try not to leave anything out.

Quote:
Originally Posted by science_man_88 View Post
d | (2^p - 1) <--have no idea what this means
A number d divides 2^p - 1, that is, 2^p - 1 = kd for some integer k.
CRGreathouse is offline   Reply With Quote
Old 2010-08-03, 20:48   #369
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24×3×5×7 Posts
Default

Quote:
Originally Posted by science_man_88
d | (2^p - 1) <--have no idea what this means
It means "d divides 2^p-1". Dammit, CRG beat me to it.

Quote:
Originally Posted by CRGreathouse
So your idea is that, for a given exponent p, you have a set of divisors D such that if there is no d in D with d | (2^p - 1), 2^p - 1 is prime. (Presumably the breakthrough is that you can find a D that is much smaller than {3, 5, 7, 11, ..., sqrt(2^p)}.) Right?
It's impossible. Any prime can divide a Mersenne number. You would be forced to use the whole set of odd integers below the sqrt to ensure that it is prime. Trial division sucks because it's inefficient and slow. No amount of wishful or magical thinking changes this.

Last fiddled with by 3.14159 on 2010-08-03 at 20:52
3.14159 is offline   Reply With Quote
Old 2010-08-03, 20:53   #370
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
OK, so re-explain post #365. (My post was just trying to understand that post.) Try not to leave anything out.



A number d divides 2^p - 1, that is, 2^p - 1 = kd for some integer k.
well basically what I was asking for is a pattern that can be used like every multiple of prime p is used in the sieve of Eratosthenes to sieve away a whole bunch of them, connected with the specific patterns.

if we find a way to sieve with it like this we can eliminate them like a sieve should without finding a factor though the first appearance of m is likely in the 2^p-1 possible factors which take the form 2kp+1.

of course in my idea's case it would hopefully be based on index and the index *2+3 is the prime exponent for the Mersenne prime.

Last fiddled with by science_man_88 on 2010-08-03 at 20:55
science_man_88 is offline   Reply With Quote
Old 2010-08-03, 20:55   #371
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

597910 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
It's impossible. Any prime can divide a Mersenne number. You would be forced to use the whole set of odd integers below the sqrt to ensure that it is prime.
This is demonstrably false -- and not just in a trivial way. Do some experimentation on this.

Quote:
Originally Posted by 3.14159 View Post
Trial division sucks because it's inefficient and slow. No amount of wishful or magical thinking changes this.
Yep, it's amazingly inefficient for this purpose, even though we *can* rule out large classes of primes as divisors.
CRGreathouse is offline   Reply With Quote
Old 2010-08-03, 20:55   #372
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

168010 Posts
Default

Quote:
Originally Posted by science_man_88
well basically what I was asking for is a pattern that can be used like every multiple of prime p is used in the sieve of Eratosthenes to sieve away a whole bunch of them, connected with the specific patterns.
Mersenne numbers do not have any covering set of divisors. The divisors are random. So this sieve would be ineffective and useless.

Quote:
Originally Posted by CRGreathouse
This is demonstrably false -- and not just in a trivial way. Do some experimentation on this.
Oh. Something about 2kp + 1 being the divisors of Mersenne numbers? This would shorten the divisions: But, what next? Divide by every single k possible before you find one? The Mersennes don't have any covering set of divisors.

Last fiddled with by 3.14159 on 2010-08-03 at 20:59
3.14159 is offline   Reply With Quote
Old 2010-08-03, 20:59   #373
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

203008 Posts
Default

Code:
(10:25) gp > for(p=5,30,for(n=1,20,if((6*n*p+p)%24==7 || (6*n*p-p)%24==7,print(floor((6*n*p-p)/24)","p))))
2,5
7,5
12,5
17,5
22,5
6,7
13,7
20,7
27,7
34,7
2,11
13,11
24,11
35,11
46,11
9,13
22,13
35,13
48,13
61,13
16,17
33,17
50,17
67,17
84,17
8,19
27,19
46,19
65,19
84,19
16,23
39,23
62,23
85,23
108,23
5,25
30,25
55,25
80,25
105,25
13,29
42,29
71,29
100,29
129,29
look at 5 for example starts at 2 in this case so c = 2 and adds p every time so it's p*x so the sequence fits 5x+2 we can tell what numbers follow this but can we link it to index of a number is the sequence if so then maybe we can find a pattern to show what indexes are wiped. if so we sieve them away.
science_man_88 is offline   Reply With Quote
Old 2010-08-03, 20:59   #374
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
well basically what I was asking for is a pattern that can be used like every multiple of prime p is used in the sieve of Eratosthenes to sieve away a whole bunch of them
To what does "them" refer? For example, suppose you were trying to show that 2^696437724971 - 1 is composite; what are are "they" in this case?

Quote:
Originally Posted by science_man_88 View Post
If we find a way to sieve with it like this we can eliminate them like a sieve should without finding a factor
If we can find a pattern (whatever that means) with certain unspecified properties, then you can eliminate... something... without finding a factor of the purported Mersenne prime.

Hmm... needs a lot of work.
CRGreathouse is offline   Reply With Quote
Reply

Thread Tools


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

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


Fri Aug 6 22:03:20 UTC 2021 up 14 days, 16:32, 1 user, load averages: 2.93, 2.80, 2.70

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.