The factor function is a little bit silly.



On 2008/4/7, J.C. Pizarro <jcpiza at gmail.com>, i wrote:
>  If i remove the expression "-z" then it solved in few seconds:
>
>  (%i12) factor(expand((x-y)^1000));
>                                          1000
>  (%o12)                            (y - x)

Look it, Maxima solved it wrongly! It's bug of Maxima!

The correct answer is (x-y)^1000, not (y-x)^1000 !!!

   Sincerely, J.C.Pizarro