Search the web
Sign In
New User? Sign Up
openpfgw · Co-ordination of the OpenPFGW project
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Error in ABC file with -f {$a}   Message List  
Reply | Forward Message #1817 of 2071 |
The following happens with the latest version 1.2 of PFGW:-
pfgw_ver_12_win32_pfgw_winpfgw.zip

as downloaded from:-
http://groups.yahoo.com/group/primeform/files/

(and with any earlier versions I have).

1.
PFGW -f -lconf.out conf.inp
where the 1-line input file conf.inp is:-

107020..[59994 more digits]..
07205183735507325932393414052340741874514018423003356731387578805508634512164617\
85510327727621884768762773773378337629775651378147023054942973488017241823439073\
73296157932561643158554069586538600525873472764334149779859430874537673700472125\
40331013726163121755037949679928082433

(the input number has 60254 digits),

gives the correct result:-
>107020864767591639004 .. 55037949679928082433 has factors: 464587^2

2.
PFGW -f -lerror.out error.inp
where the 2-line input file error.inp is:-

ABC $b // -f{$a}
-77431 107020..[59994 more digits]..
07205183735507325932393414052340741874514018423003356731387578805508634512164617\
85510327727621884768762773773378337629775651378147023054942973488017241823439073\
73296157932561643158554069586538600525873472764334149779859430874537673700472125\
40331013726163121755037949679928082433

gives on the screen:-

>trial factoring to 7063881632927445
>PRP: 1070208647675916....0720518373550732 nnn/199285
>1070208647675916....0720518373550732 is composite
>// - Evaluator failed
>Unknown error in PFGW runtime
>Possibly a number too big for alloca version of GMP

The "....0720518373550732" means it has cut off the last 251 digits (see the end
of the actual number given above).

Does this mean there is a limit of 60K digits somewhere in the // -f{$a}
processing, perhaps?

Can this bug be corrected?
Meanwhile, is there anything I can do to get round it?

TIA

-Mike Oakes




Sun Jan 1, 2006 4:04 pm

mikeoakes2
Offline Offline
Send Email Send Email

Forward
Message #1817 of 2071 |
Expand Messages Author Sort by Date

The following happens with the latest version 1.2 of PFGW:- pfgw_ver_12_win32_pfgw_winpfgw.zip as downloaded from:- ...
mikeoakes2@...
mikeoakes2
Offline Send Email
Jan 1, 2006
4:05 pm

... 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...
Jens Kruse Andersen
jkand71
Offline Send Email
Jan 1, 2006
6:34 pm

Jens You wrote (thanks for the info):- ... I am trying to get a prime of a form not expressible using pfgw's parser into the top-5000. Given that the smallest...
mikeoakes2@...
mikeoakes2
Offline Send Email
Jan 1, 2006
10:51 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help