mersenneforum.org  

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

Reply
 
Thread Tools
Old 2010-08-30, 04:35   #1145
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
I guess I am unable to do much uploading, as the network is failing yet again.
Not a big deal -- you're the one doing the calculation at the moment, and as long as that work is able to continue there's no problem in waiting a day, or even a week, to update.
CRGreathouse is offline   Reply With Quote
Old 2010-08-30, 04:38   #1146
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24·3·5·7 Posts
Default

Quote:
Originally Posted by CRGreathouse
Not a big deal -- you're the one doing the calculation at the moment, and as long as that work is able to continue there's no problem in waiting a day, or even a week, to update.
Any programs that you would recommend me using for the larger primes?

My current idea is NewPGen + PFGW + Proving it prime with Proth.exe

And:

912646 * 79833620160 + 1 is prime! (Approx. 119000 digits)

Last fiddled with by 3.14159 on 2010-08-30 at 04:42
3.14159 is offline   Reply With Quote
Old 2010-08-30, 04:42   #1147
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Any programs that you would recommend me using for the larger primes?
Not particularly. As long as your basic setup is sieve + probable prime test + primality proving, you're pretty well set.
CRGreathouse is offline   Reply With Quote
Old 2010-08-30, 04:44   #1148
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

168010 Posts
Default

Now, that find lifted a load of CPU usage off the computer. It reduced it by 40% !

Quote:
Originally Posted by CRGreathouse
Not particularly. As long as your basic setup is sieve + probable prime test + primality proving, you're pretty well set.
Sieve: NewPGen or Vk.

PRP Test: PFGW or LLR.

Primality proof: Proth.exe (Items 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14, 15)

Last fiddled with by 3.14159 on 2010-08-30 at 04:57
3.14159 is offline   Reply With Quote
Old 2010-08-30, 05:03   #1149
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

69016 Posts
Default

Okay: Past 250, programs will be put into use; The primes reach 600 digits by b = 250. Or begin using "isPRP", for PARI.

Last fiddled with by 3.14159 on 2010-08-30 at 05:06
3.14159 is offline   Reply With Quote
Old 2010-08-30, 05:24   #1150
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Or begin using "isPRP", for PARI.
Probably better to use ispseudoprime(), which does a small amount of trial division then a BPSW test. It's coded directly in C which means you get about the same speed as isPRP but a much stronger test.
CRGreathouse is offline   Reply With Quote
Old 2010-08-30, 05:30   #1151
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

32208 Posts
Default

Okay: Completed the file for b = 60 to 250.

Now: For 251 to 500.

Last fiddled with by 3.14159 on 2010-08-30 at 05:30
3.14159 is offline   Reply With Quote
Old 2010-08-30, 06:56   #1152
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Other members only:

20. n-1 analogues of Proths.
21. n-1 analogues of k-b-b, (k * bb - 1)
22. Twins.

I stay within 1-19. Ban me for a week if I defy that rule.
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.
CRGreathouse is offline   Reply With Quote
Old 2010-08-30, 12:50   #1153
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

obviously even though you told me to post again you don't care of my idea.
science_man_88 is offline   Reply With Quote
Old 2010-08-30, 13:11   #1154
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
obviously even though you told me to post again you don't care of my idea.
I can't make heads or tails of it.
CRGreathouse is offline   Reply With Quote
Old 2010-08-30, 13:17   #1155
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

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.

Code:
3,7,31,127,8191,131071,524287,<--1
2,5,11,23,47,191,383,6143,786431,<--2
3,7,31,127,8191,131071,524287,<--3
19,79,1279,5119,20479,81919,1310719,<--4
5,11,23,47,191,383,6143,786431,<--5
13,223,3583,917503,14680063,<--6
7,31,127,8191,131071,524287,<--7
17,71,1151,73727,294911,18874367,<--8
19,79,1279,5119,20479,81919,1310719,<--9
43,<--10
11,23,47,191,383,6143,786431,<--11
103,1663,109051903,<--12
13,223,3583,917503,14680063,<--13
29,59,239,479,15359,245759,1966079,<--14
31,127,8191,131071,524287,<--15
67,271,1087,1114111,17825791,<--16
17,71,1151,73727,294911,18874367,<--17
37,151,607,39845887,<--18
19,79,1279,5119,20479,81919,1310719,<--19
41,83,167,2687,21503,172031,5505023,<--20
43,<--21
367,1471,94207,<--22
23,47,191,383,6143,786431,<--23
199,12799,51199,3276799,209715199,<--24
103,1663,109051903,<--25
53,107,431,863,6911,27647,442367,<--26
223,3583,917503,14680063,<--27

Last fiddled with by science_man_88 on 2010-08-30 at 13:23
science_man_88 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:13.


Fri Aug 6 23:13:39 UTC 2021 up 14 days, 17:42, 1 user, load averages: 4.31, 4.26, 4.08

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.