![]() |
|
|
#1 |
|
"Sam"
Nov 2016
22·34 Posts |
Hi, I am here to address some problems or struggles with PFGW (and other primality programs and html sites) hoping to improve and extend them. Anyways, my first struggle with PFGW is its ABC file. I have checked that the ABC input files are only able to handle less than 60k "random" digits (of text) (also known as non-trivial numbers since they don't have a trivial easy expression). If the number(s) are greater than 60k digits worth of text, the number will be reduced to a 60k digit string and be repeatedly prp (probable prime) tested over and over again. I am asking to see if anyone (this is directed toward the pfgw authors, someone told me I could find them in this forum) knows how to extend the limit to pfgw's ordinary, or generic numbers limit at 12M digits (of text). Here is a quick description of this problem:
input.txt: ----- ABC 104053795424.........(100k digits).........318274915356+$a ......... 1 3 5 7 9 11 13 15 17 19 ----- pfgw64.exe input.txt PRP: 104053795424.........(60k digits).........443211293243 1/199312 which will prp test this cut-off number an infinite number of times. Again, the ABC files work perfectly fine for large numbers with shorter descriptions such as input.txt: ----- ABC 10^999999+$a 1 3 5 7 9 11 13 15 17 19 ----- pfgw64.exe input.txt PRP: 10^999999+1 1/332192 or numbers with less than 60k digits or characters also work normally. Thanks to those who can help fix this problem with the ABC sieve files. |
|
|
|
|
|
#2 |
|
"Mark"
Apr 2003
Between here and the
11×577 Posts |
I maintain pfgw. Please send e-mail to rogue@wi.rr.com so we can discuss offline with a few more details, such as a zipped copy of your ABC file.
|
|
|
|
|
|
#3 |
|
"Sam"
Nov 2016
22×34 Posts |
Huge Thanks to Mark for working on extending the ABC files to 1M characters!!!
Last fiddled with by carpetpool on 2016-12-02 at 01:15 |
|
|
|
|
|
#4 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36×13 Posts |
Don't forget that if you can't express your number in less than a million characters, then it is likely will not be a prime. Just a PRP, -- even if you'll find one.
|
|
|
|
|
|
#5 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
I've made the code change, but I bumped it to 10,000,000 so that I don't get asked again. Fortunately pfgw has a small memory footprint compared to most applications people run nowadays. I just need to build and put onto sourceforge.
|
|
|
|
|
|
#6 |
|
"Sam"
Nov 2016
32410 Posts |
Thanks rouge!!! Is there a new version to download?
|
|
|
|
|
|
#7 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
Hopefully tomorrow
|
|
|
|
|
|
#8 |
|
"Sam"
Nov 2016
22·34 Posts |
Mark, is that the only change to the new version? Also, please paste the link to the new PFGW version here. Thanks.
|
|
|
|
|
|
#9 |
|
"Sam"
Nov 2016
5048 Posts |
Or if there is a specific thread on this forum where you mention updates to PFGW, please let me know.
|
|
|
|
|
|
#10 |
|
"Mark"
Apr 2003
Between here and the
11×577 Posts |
The Windows version of 3.8.3 has been uploaded. If you need a build for a different OS, please let me know.
|
|
|
|
|
|
#11 |
|
"Sam"
Nov 2016
22·34 Posts |
The new version doesn't seem to work...
C:\Users\User\Documents\PFGW 3.8.3>pfgw64.exe input.txt (program stops working and quits) input.txt: ABC 105729160569.........(200k digits).........379407409053+$a 1 3 5 7 9 11 13 15 17 19 I just downloaded the windows version of it. I still have the 3.8.1 version. |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Minor error in handling worktodo | tha | Software | 1 | 2015-05-11 13:56 |
| BUG Prime95 Priority handling Win7 | workerthread | Software | 9 | 2012-05-01 22:02 |
| 380W PSU capable handling 9800GTX+? | nuggetprime | Hardware | 8 | 2009-01-08 03:33 |
| Mprime's signal handling? | zukertort | Software | 1 | 2005-04-23 12:18 |
| PFGW double check problem? | TTn | 15k Search | 7 | 2003-07-28 22:27 |