I am hoping to be able to factor a single variable polynomial with positive coefficients onto factors that only involve positive coefficients. For example I would like to factor q^10+q^8+q^6+q^4+q^2+1 as (q^2 + 1)*(q^8+q^4+1) rather than (q^2 + 1)* (q^2 - q + 1)*(q^2 + q + 1)*(q^4 - q^2 + 1) as the factor command does. If possible I would _really_ like to have Sage give the first factorized form as (q+1/q)*(q^4+1+1/q^4)*q^5. Any suggestions?
--~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
