In Maxima, the polynomial (x-4)^2*(x-2)^3*(x-1)*(x+3) has two complex roots and only one integer root. Try it yourself: %i1 (x-4)^2*(x-2)^3*(x-1)*(x+3); %i2 allroots(%);