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