keeping in mind that
1² = 1
1³ = 1
1⁴ = 1
1¹⁰⁰⁰⁰⁰⁰ = 1
[tex]\bf \textit{difference and sum of cubes}
\\\\
a^3+b^3 = (a+b)(a^2-ab+b^2)
\\\\
a^3-b^3 = (a-b)(a^2+ab+b^2)\\\\
-------------------------------\\\\
x^3-1\implies x^3-1^3\implies (x-1)(x^2+1x+1^2)
\\\\\\
(x-1)(x^2+x+1)[/tex]