mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Conjectures 'R Us (https://www.mersenneforum.org/forumdisplay.php?f=81)
-   -   Sierp base 3 - mini-drive Ia (https://www.mersenneforum.org/showthread.php?t=10506)

mdettweiler 2008-07-29 02:02

[quote=Mini-Geek;138473]Never mind, I noticed that srfile can do this and found the command. (I can't still edit the above post.)[/quote]
I've written a little Perl script that simplifies the process of running srfile to remove multiple k's (or just one, though if you're only removing one k you may as well just use srfile directly)--essentially, it takes an input file in any format srfile supports, removes all the k's listed in a given file (one sequence on each line, in the same format as you'd use normally with srfile), and outputs in either NewPGen, ABC, or ABCD format.

If anyone wants a copy of the program, just [email=bugmesticky@googlemail.com]email me[/email]. :smile:

gd_barnes 2008-07-29 03:35

[quote=Anonymous;138476]I've written a little Perl script that simplifies the process of running srfile to remove multiple k's (or just one, though if you're only removing one k you may as well just use srfile directly)--essentially, it takes an input file in any format srfile supports, removes all the k's listed in a given file (one sequence on each line, in the same format as you'd use normally with srfile), and outputs in either NewPGen, ABC, or ABCD format.

If anyone wants a copy of the program, just [EMAIL="bugmesticky@googlemail.com"]email me[/EMAIL]. :smile:[/quote]


You can also use a batch process, which is what I do. Here is what I put in a file to remove the 3 k's with primes from the n=35K-50K files:

[code]
srfile -G -d "12562406*3^n+1" sieve-sierp-base3-0M-50M-35K-50K.txt
srfile -G -d "30494864*3^n+1" t16_b3.prp
srfile -G -d "38353046*3^n+1" t16_b3.prp
copy t16_b3.prp sieve-sierp-base3-0M-50M-35K-50Kb.txt
del t16_b3.prp
[/code]


Just give the file a .bat extension and run it at the command prompt.


Gary

henryzz 2008-07-29 07:41

it looks like i am the unlucky one i am 23% done without a prime when CedricVonck has two primes at 11% and Mini-Geek has one at 17%

henryzz 2008-07-29 09:22

14454556*3^36283+1 is prime

ValerieVonck 2008-07-29 12:17

28675334 35458 is prime!

henryzz 2008-07-29 12:30

26804972*3^36314+1 is prime!

ValerieVonck 2008-07-29 16:42

32565374 35794 is prime!

ValerieVonck 2008-07-29 18:15

11658664 35879 is prime!

ValerieVonck 2008-07-29 19:30

Range done - following primes found

[CODE]12562406 35092
38353046 35109
28675334 35458
32565374 35794
11658664 35879[/CODE]

ValerieVonck 2008-07-29 19:31

reserving 38k - 39k

Lennart 2008-07-29 20:56

LLR
 
reserving 39k - 42k

/Lennart


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.