\(\left(x^2+x+1\right)\left(x^2-x+1\right)\left(x^4-x^2+1\right)\left(x^8-x^4+1\right)\)
\(=\left(x^4+x^2+1\right)\left(x^4-x^2+1\right)\left(x^8-x^4+1\right)\)
\(=\left(x^8+x^4+1\right)\left(x^8-x^4+1\right)\)
\(=x^{16}+x^8+1\)
\(\left(x^2+x+1\right)\left(x^2-x-1\right)\left(x^4-x^2+1\right)\left(x^8-x^4+1\right)\)
\(=\left(x^4-x^3-x^2+x^3-x^2-x+x^2-x-1\right)\) \(\left(x^{32}-x^{16}+x^4-x^{16}+x^8-x^2+x^8-x^4+1\right)\)
\(=\left(x^4-x^2-2x-1\right)\left(x^{32}-2x^{16}+2x^8-x^2+1\right)\)