(a-b)^odd+ (b-a)^odd --/--> 0



Le 18/11/2010 16:03, Raymond Toy a ?crit :
> On 11/18/10 9:03 AM, Barton Willis wrote:
>    
>> -----maxima-bounces at math.utexas.edu wrote: -----
>>
>>      
>>> bonjour
>>> factor((a-b)^10001 + (b-a)^10001)  ---->   0
>>> jean
>>>        
>> Thanks--I didn't think about factor. But
>>
>>   (%i5) factor((a-b)^10001 + (b-a)^10001 + 1);
>>   Maxima encountered a Lisp error:
>>      
> Interesting.  What version and lisp?  With the CVS version on cmucl, I
> get 1.
>
> Ray
>    
I also get 1 for exponent 10001 but overflow for exponent 100001 with 
version 5.20.1 :
(%i1) build_info();
Maxima version: 5.20.1
Maxima build date: 12:35 1/21/2010
Host type: i686-pc-linux-gnu
Lisp implementation type: CLISP
Lisp implementation version: 2.47 (2008-10-23) (built 3457458111) 
(memory 3473062541)

(%o1)
(%i2) factor((a-b)^10001 + (b-a)^10001 + 1);
(%o2)                                  1
(%i3) factor((a-b)^100001 + (b-a)^100001 + 1);
Exiting on signal 6

Eric
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>