![]() |
|
|
#166 |
|
"Mark"
Apr 2003
Between here and the
2·32·353 Posts |
|
|
|
|
|
|
#167 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
224268 Posts |
Mark,
I have recently run some -go and -gxo tests (with large primes) and I have a proposal which may be easy to implement. Both -go and -gxo tests proceed all the way until finishing testing base 11, before reporting, only at the very end (this is an example; not mine): Code:
11*2^2897409+1 is a Factor of GF(2897408,3)!!!! (30574.520000 seconds) 11*2^2897409+1 is a Factor of xGF(2897408,7,4)!!!! (0.010000 seconds) Of course, this is going to be of purely hedonic value, and of course the user could wait for another 5 hours, but wouldn't it be nice? |
|
|
|
|
|
#168 |
|
Jun 2003
10011110110102 Posts |
|
|
|
|
|
|
#169 | |
|
"Mark"
Apr 2003
Between here and the
2×32×353 Posts |
Quote:
|
|
|
|
|
|
|
#170 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
2·47·101 Posts |
I've read it for an hour yesterday.
It is obviously non-trivial to rearrange the logic right away, but I'll muck with it. I was also curious to see what some people change P.S. For the impatient ones, the FermatFactor-only code could be run as "-gos2"... Interesting. P.P.S. There are funny side-effects that can be produced in the extended extended part. For example, while GF(8) is explicitly protected from over-reporting when the number is a Fermat factor, GF(32) is not. (E.g. try pfgw -gxo"{1,31}{2,32}" -l -q"189*2^90061+1"; the xGFs of course are found at 1/k rate and casting a wider net, everyone can find an xGF sooner or later.) Last fiddled with by Batalov on 2013-02-27 at 18:15 Reason: (curios added) |
|
|
|
|
|
#171 |
|
"Mark"
Apr 2003
Between here and the
2·32·353 Posts |
Preaching to the choir! globals aren't necessarily evil, but there are too many of them.
I would love to rewrite much of pfgw, but that is no small undertaking. Some of the functions are long and the execution path to access any of the pfoo functions is scary. I would also eliminate the use of overloaded operators. That is one of my least favorite things in C++ (with the exception of using '+' on string objects). |
|
|
|
|
|
#172 |
|
Dec 2011
After milion nines:)
1,451 Posts |
Is it possible to add one "feature" to WinPFGW. If I need to do decimal expansion of some number, I must first create txt file with number, then start WinPFGW and enter pfgw -od -lprime.txt -q"inifile.txt"
It will be great that I can enter only pfgw -od -lprime.txt -q"number" without making inifile.txt and got result in prime.txt I think is simple change in PFGW code... |
|
|
|
|
|
#173 |
|
Banned
"Luigi"
Aug 2002
Team Italia
12D216 Posts |
A question about pfgw.
If I run (say) Code:
./pfgw 64s 2046*(2^1257787-1)+1 If the number is PRP, may I then run the script Code:
SCRIPT DIM expo, 1257787 DIM base, 2 DIM k, 1023 DIM result, 0 DIM mers, (2*k*(2^expo-1))+1 DIMS rstr OPENFILEAPP r_file,results.txt POWMOD result,base,2^expo-1,mers WRITE r_file,result Luigi Last fiddled with by ET_ on 2013-03-02 at 13:09 Reason: I multiply 2*k in the script |
|
|
|
|
|
#174 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
2·33·109 Posts |
You would have to find the PRP in the script or modify the script to read PRPs from a file. It is quite possible that one of these options is quite viable. It would theoretically be possible to read an ABC file with a pfgw script.
|
|
|
|
|
|
#175 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
481810 Posts |
Quote:
I just want to be ready when I will find one ![]() Luigi |
|
|
|
|
|
|
#176 | |
|
"Mark"
Apr 2003
Between here and the
2·32·353 Posts |
Quote:
Can you give me a specific example of what you are trying to do so that I can understand? |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A possible bug in LLR/PFGW while using GWNUM (no bug in P95) | Batalov | Software | 77 | 2015-04-14 09:01 |
| PFGW 3.2.0 has been Released | rogue | Software | 94 | 2010-09-14 21:39 |
| PFGW 3.2.3 has been Released | rogue | Software | 10 | 2009-10-28 07:07 |
| PFGW 3.2.2 has been Released | rogue | Software | 20 | 2009-08-23 12:14 |
| PFGW 3.2.1 has been released | rogue | Software | 5 | 2009-08-10 01:43 |