mersenneforum.org Sierp base 3 - mini-drive Ia
 Register FAQ Search Today's Posts Mark Forums Read

2008-07-29, 02:02   #12
mdettweiler
A Sunny Moo

Aug 2007
USA (GMT-5)

3×2,083 Posts

Quote:
 Originally Posted by Mini-Geek Never mind, I noticed that srfile can do this and found the command. (I can't still edit the above post.)
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 me.

2008-07-29, 03:35   #13
gd_barnes

May 2007
Kansas; USA

2×36×7 Posts

Quote:
 Originally Posted by Anonymous 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 me.

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

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

Gary

 2008-07-29, 07:41 #14 henryzz Just call me Henry     "David" Sep 2007 Cambridge (GMT/BST) 131328 Posts 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%
 2008-07-29, 09:22 #15 henryzz Just call me Henry     "David" Sep 2007 Cambridge (GMT/BST) 2·2,861 Posts 14454556*3^36283+1 is prime
 2008-07-29, 12:17 #16 ValerieVonck     Mar 2004 Belgium 33·31 Posts 28675334 35458 is prime!
 2008-07-29, 12:30 #17 henryzz Just call me Henry     "David" Sep 2007 Cambridge (GMT/BST) 2·2,861 Posts 26804972*3^36314+1 is prime!
 2008-07-29, 16:42 #18 ValerieVonck     Mar 2004 Belgium 33·31 Posts 32565374 35794 is prime!
 2008-07-29, 18:15 #19 ValerieVonck     Mar 2004 Belgium 33×31 Posts 11658664 35879 is prime!
 2008-07-29, 19:30 #20 ValerieVonck     Mar 2004 Belgium 34516 Posts Range done - following primes found Code: 12562406 35092 38353046 35109 28675334 35458 32565374 35794 11658664 35879
 2008-07-29, 19:31 #21 ValerieVonck     Mar 2004 Belgium 33·31 Posts reserving 38k - 39k
 2008-07-29, 20:56 #22 Lennart     "Lennart" Jun 2007 21408 Posts LLR reserving 39k - 42k /Lennart Last fiddled with by Lennart on 2008-07-29 at 21:22

 Similar Threads Thread Thread Starter Forum Replies Last Post gd_barnes Conjectures 'R Us 254 2014-06-10 16:00 gd_barnes Conjectures 'R Us 46 2009-10-26 18:19 gd_barnes Conjectures 'R Us 199 2009-09-30 18:44 gd_barnes Conjectures 'R Us 43 2009-03-06 08:41 gd_barnes Conjectures 'R Us 43 2008-07-16 10:12

All times are UTC. The time now is 11:39.

Tue Sep 29 11:39:25 UTC 2020 up 19 days, 8:50, 0 users, load averages: 1.76, 1.67, 1.50

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.