I am looking for a way to factorize $x^{38} - 1$ polynomial in $F_5$ . So far I have: $x^{38} - 1 = (x^{19} - 1)(x^{19} + 1) = (x - 1)(x^{18} + x^{17}... + 1)(x + 1)(x^{18} - x^{17} + ... + 1)$
I can show that $(x^{18} + ... + 1)$ is irreducible due to minimal polynomial of primitive root of 19 in $F_5$ having degree 18(precisely $x^{18}+...+1$).
But I have no idea what to do with $x^{18} - x^{17}... +1$. I am not sure if it is irreducible or not.