factors has either a polynomial or a list of polynomials as
argument.
factors returns a list containing the factors of the polynomial
and their exponents.
Input :
^
2+2*x+1)Output :
Input :
^
4-2*x^
2+1)Output :
Input :
^
3-2*x^
2+1,x^
2-x])Output :
^
2-x-1,1],[x,1,x-1,1]]Input :
^
2,x^
2-1])Output :