I have commented offlist with Mike about this.
Yes, the 1.2 version has a 60000 char limit for ABC files (the dev version kicks
this up a little). Also, in the "sample", Mike set his $a value to a negative
number. This causes the modular sieve to NOT give proper results. That
negative sign must also be removed to get things to work (in the ABC file).
NOTE that if used like Jens stated, then pfgw can be called, and the modular
factoring string can be provided on the command line (in the -f switch).
Jim.
> Mike Oakes wrote:
>
> > Does this mean there is a limit of 60K digits somewhere in the // -f{$a}
> > processing, perhaps?
>
> abcfileformats.txt says "The current maximum line length for an
> ABC, ABCD or ABC2 file is just under 16k."
>
> This is actually 60000 characters in current versions:
> http://groups.yahoo.com/group/primeform/message/5992
> The limit is for all ABC lines and unrelated to -f.
>
> > Meanwhile, is there anything I can do to get round it?
>
> Avoiding long ABC lines seems to be the only possibility.
> Scripts can do some things but maybe not the -f functionality you want.
> Some of my programs write each number to a single-line file before
> calling PFGW.
> PFGW -q with a long command-line expression can have a much
> lower OS-dependent limit.
>
> --
> Jens Kruse Andersen
Tray Helper - try to find something more useful... (http://www.trayhelper.com)