factor x^6-1

Input interpretation

factor | x^6 - 1

Result

(x - 1) (x^2 + x + 1) (x + 1) (x^2 - x + 1)