MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FactorInteger - MathKernel crashes


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


  • Prev by Date: Re: multiple curves in LogLogPlot?
  • Next by Date: cellform to console form
  • Previous by thread: Re: FactorInteger - MathKernel crashes
  • Next by thread: Re: FactorInteger - MathKernel crashes