mersenneforum.org  

Go Back   mersenneforum.org > Math Stuff > Computer Science & Computational Number Theory > PARI/GP

Reply
 
Thread Tools
Old 2010-08-30, 14:00   #1156
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24×3×5×7 Posts
Default

Quote:
Originally Posted by CRGreathouse
Since Pi's not allowed to participate and no one else has stepped forward, I'll submit 1 * 2^2 - 1 = 3 for #20 and #21 and 3 = 5 - 2 for #22. Primality certificates available on request.
Always going with the smallest examples. What exponents are you up to for your 2^n - 2293 search?

Also: I'll get to work on b = 251-500 for k-b-b's.

Last fiddled with by 3.14159 on 2010-08-30 at 14:00
3.14159 is offline   Reply With Quote
Old 2010-08-30, 14:12   #1157
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
turn this into vectors:

Code:
for(s=1,50,for(x=s,20000000*s,if(isprime(x),print1(x","));x=x*2);print("<--"s))
then compare with the exponents of Mersenne primes.

some don't fit them so we could say they may never hit them. if we can figure this out we can use it like a sieve.
So you're starting at some s and then looking at primes of the form 2^k * (s+1) - 1 for k = 0..24. What are you doing with them? What do you mean by comparing them with the exponents of Mersenne primes?
CRGreathouse is offline   Reply With Quote
Old 2010-08-30, 14:14   #1158
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 you're starting at some s and then looking at primes of the form 2^k * (s+1) - 1 for k = 0..24. What are you doing with them? What do you mean by comparing them with the exponents of Mersenne primes?
check out s=11 up to the limit of known exponents for Mersenne primes they all aren't in it. so far about 1/3 of all the numbers checked up to 27 have sequences that seem to work like that so far.
science_man_88 is offline   Reply With Quote
Old 2010-08-30, 14:44   #1159
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

10111010110112 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Always going with the smallest examples. What exponents are you up to for your 2^n - 2293 search?
Once I close the gap between my disjoint work assignments I'll be up to 920,000. But I still have some work in the lower 700,000s.
CRGreathouse is offline   Reply With Quote
Old 2010-08-30, 14:48   #1160
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24·3·5·7 Posts
Default

Quote:
Originally Posted by CRGreathouse
Once I close the gap between my disjoint work assignments I'll be up to 920,000. But I still have some work in the lower 700,000s.
Excellent. I'm nearing b = 300.

So, I've covered every prime under 760 digits so far.

Also: There seems to be a roundoff bug with b = 308 in between 3408 and 4870.

Is this just me?

Last fiddled with by 3.14159 on 2010-08-30 at 15:01
3.14159 is offline   Reply With Quote
Old 2010-08-30, 15:28   #1161
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
check out s=11 up to the limit of known exponents for Mersenne primes they all aren't in it. so far about 1/3 of all the numbers checked up to 27 have sequences that seem to work like that so far.
I can write out the numbers for s = 11, but what do I do with them?
CRGreathouse is offline   Reply With Quote
Old 2010-08-30, 15:29   #1162
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Also: There seems to be a roundoff bug with b = 308 in between 3408 and 4870.
A roundoff bug in what?
CRGreathouse is offline   Reply With Quote
Old 2010-08-30, 15:31   #1163
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

110100100002 Posts
Default

@CRG: Can you make a quick script that asks NewPGen to sieve for a certain base-range?

Quote:
Originally Posted by CRGreathouse
A roundoff bug in what?
PFGW gets a roundoff bug, something to do with 0.5 > 0.45

This only happens where b = 308; k = 3408 to 4870.

Last fiddled with by 3.14159 on 2010-08-30 at 15:32
3.14159 is offline   Reply With Quote
Old 2010-08-30, 15:33   #1164
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

624910 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
PFGW gets a roundoff bug, something to do with 0.5 > 0.45

This only happens where b = 308; k = 3408 to 4870.
Can you post the details of the bug here? I've run into these myself in the past and if it's the kind of bug I'm thinking of, the PFGW program developer wants to hear about these.
mdettweiler is offline   Reply With Quote
Old 2010-08-30, 15:35   #1165
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
I can write out the numbers for s = 11, but what do I do with them?
if you check the primes in this sequence out until the exponent of the largest Mersenne prime confirmed you'll see they are all prime for which 2^s-1 is not prime.

same with the others highlighted in red.

the numbers in orange mean that the sequence is part of another already highlighted in red.
science_man_88 is offline   Reply With Quote
Old 2010-08-30, 15:37   #1166
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

69016 Posts
Default

Quote:
Originally Posted by Matt
Can you post the details of the bug here? I've run into these myself in the past and if it's the kind of bug I'm thinking of, the PFGW program developer wants to hear about these.
Code:
Error occuring in PFGW at Mon Aug 30 10:54:47 2010
Expr = 3460*308^308+1
Detected in MAXERR>0.45 (round off check) in prp_using_gwnum
Iteration: 75/2557 ERROR: ROUND OFF 0.5>0.45
PFGW will automatically rerun the test with -a1
3.14159 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do I sometimes see all the <> formatting commands when I quote or edit? cheesehead Forum Feedback 3 2013-05-25 12:56
Passing commands to PARI on Windows James Heinrich Software 2 2012-05-13 19:19
Ubiquity commands Mini-Geek Aliquot Sequences 1 2009-09-22 19:33
64-bit Pari? CRGreathouse Software 2 2009-03-13 04:22
Are these commands correct? jasong Linux 2 2007-10-18 23:40

All times are UTC. The time now is 23:14.


Fri Aug 6 23:14:01 UTC 2021 up 14 days, 17:43, 1 user, load averages: 4.95, 4.40, 4.13

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.