Currently, I have that I can do:
$$ x^5-1 = (x-1)(x^4+x^3+x^2+x+1) $$
Then I thought I could do:
$$ x^5-1 = (x-1)(x(x+1)(x^2+1)+1) $$
However I want to use the factorization to find all cyclic codes in $[5, k]$. For that, I need to find all irreducible factors of $ x^5-1 $. I am not seeing if I can actually reduce $x^4+x^3+x^2+x+1$ any further