Max Alekseyev on Wed, 01 May 2013 18:48:13 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Recovering partial factorizations when using trap() and alarm() to abort factorint()


On Wed, May 1, 2013 at 12:35 PM, Richard in Reading
<richard_in_reading@yahoo.co.uk> wrote:

> Also, aborting the factorint() function does not give any access to any partial factorization found. Is there any way to recover this?

This is done by setting

default(factor_add_primes,1);

before running factorint(N) and calling

factor(N,0);

after it is aborted.

Regards,
Max