![]() |
PFGW ABC file handling problem
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. |
I maintain pfgw. Please send e-mail to [email]rogue@wi.rr.com[/email] so we can discuss offline with a few more details, such as a zipped copy of your ABC file.
|
Huge Thanks to Mark for working on extending the ABC files to 1M characters!!! :retina:
|
Don't forget that if you [B]can't[/B] express your number in less than a million characters, then it is likely will not be a prime. [SPOILER]Just a PRP, -- even if you'll find one.[/SPOILER]
|
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.
|
Thanks rouge!!! Is there a new version to download?
|
Hopefully tomorrow
|
Mark, is that the only change to the new version? Also, please paste the link to the new PFGW version here. Thanks.
|
Or if there is a specific thread on this forum where you mention updates to PFGW, please let me know.
|
The Windows version of 3.8.3 has been uploaded. If you need a build for a different OS, please let me know.
|
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. |
| All times are UTC. The time now is 05:53. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.