Re: FactorInteger - MathKernel crashes
- To: mathgroup at smc.vnet.net
- Subject: [mg73452] Re: FactorInteger - MathKernel crashes
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Sat, 17 Feb 2007 04:59:24 -0500 (EST)
- Organization: The Open University, Milton Keynes, UK
- References: <er3hhj$fee$1@smc.vnet.net>
Costa Bravo wrote: > Hello, > > a1 = 2^4 + 7^24 * 719^2; > a2 = 2^20 * 29^2 + 13^23; > a3 = 13^24 + 5^37 * 41 ; > > MathKernel crashes, since I use > > FactorInteger[a1] or > FactorInteger[a2] or > FactorInteger[a3] > > Why ?? > > If argument of FactorInteger is k*a1 or k*a2 or k*a3 (k = 2,3,4,......) > MathKernel also crashes > > $Version > 5.0 for Microsoft Windows > > Regards, > Costa > Have you checked the package NumberTheory`FactorIntegerECM? See http://documents.wolfram.com/mathematica/Add-onsLinks/StandardPackages/NumberTheory/FactorIntegerECM.html In[1]:= a1 = 2^4 + 7^24*719^2; a2 = 2^20*29^2 + 13^23; a3 = 13^24 + 5^37*41; In[4]:= Needs["NumberTheory`FactorIntegerECM`"] In[5]:= FactorIntegerECM[a1] Out[5]= 94793 (Note that FactorIntegerECM returns one factor at the time.) Regards, Jean-Marc