![]() |
|
|
#101 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
|
|
|
|
|
|
#102 |
|
I quite division it
"Chris"
Feb 2005
England
31·67 Posts |
I don't speak Perl but I did download ActivePerl a few days ago.
(I don't think it installed properly though.) Perhaps you could email the instructions and I'll give it a try. (Windows.) Thanks, Chris |
|
|
|
|
#103 |
|
Mar 2006
Germany
32·17·19 Posts |
the easiest way to remove many k's from a file: (DOS)
for example you have a sieve-file (in LLR-format: header, pairs k n, here a base7-file): create a batch "del_k.bat" with: Code:
srfile -d "%1*7^n-1" -G %2 Code:
call del_k 111 t17_b7.prp call del_k 112 t17_b7.prp call del_k 113 t17_b7.prp call del_k 114 t17_b7.prp put all callings for all k's in the second and start this. (for an abcd-format you have to edit the first one to '... -a %2'.) |
|
|
|
|
#104 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
624910 Posts |
Quote:
In that case, there's probably no need for me to send Chris my Perl script--Chris, let me know if you still want it (say if you've got a Linux machine you need to use it on).
|
|
|
|
|
|
#105 | |
|
I quite division it
"Chris"
Feb 2005
England
40358 Posts |
Quote:
![]() Could you please show me this specifically for: A base-3 file in ABC format with a name of, say, "foobar.txt". Not changing that file and producing a file in ABC format with a name "trimmed.txt" @Max It looks like I won't need the Perl script thanks. Though I might try to get a 64bit Ubuntu running on my 'resurrected' C2D PC. (It's network name is Lazarus.) |
|
|
|
|
|
#106 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
141518 Posts |
|
|
|
|
|
#107 |
|
I quite division it
"Chris"
Feb 2005
England
31·67 Posts |
52103528*3^51080-1
Is prime. |
|
|
|
|
#108 |
|
I quite division it
"Chris"
Feb 2005
England
1000000111012 Posts |
92101948*3^51682-1
Is prime. |
|
|
|
|
#109 |
|
I quite division it
"Chris"
Feb 2005
England
31×67 Posts |
9592784*3^52541-1
Is prime. |
|
|
|
|
#110 | |
|
Mar 2006
Germany
32×17×19 Posts |
Quote:
-a creates a *.abcd -G creates a *.npg -w creates a *.pfgw -g creates for every k a *.npg if you use: "srfile -o foobar.txt sr_3.abcd" a file in srsieve-format will be created. so you have to rename the last file by hand, or del_k.bat: Code:
srfile -d "%1*3^n-1" -a %2 Code:
ren foobar.txt sr_3.abcd call del_k 111 sr_3.abcd call del_k 112 sr_3.abcd call del_k 113 sr_3.abcd call del_k 114 sr_3.abcd ren sr_3.abcd trimmed.txt |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sieving drive Riesel base 6 n=1M-2M | gd_barnes | Conjectures 'R Us | 40 | 2011-01-22 08:10 |
| Sierp base 3 - mini-drive II | gd_barnes | Conjectures 'R Us | 46 | 2009-10-26 18:19 |
| Sierp base 3 - mini-drive Ib | gd_barnes | Conjectures 'R Us | 43 | 2009-03-06 08:41 |
| Sierp base 3 - mini-drive Ia | gd_barnes | Conjectures 'R Us | 170 | 2008-11-11 05:10 |
| mini-drive for high-n testing on Sierp base 4 | gd_barnes | Conjectures 'R Us | 43 | 2008-07-16 10:12 |