How can I factorize $X^p+1$ in a field of characteristic $p$ ?
If the field is $\mathbb Z/p\mathbb Z$, then $$X^p+1=X^p+1^p=(X+1)^p,$$ but if the field is $\mathbb F_{p^n}$ or if the characteristic is $q\neq p$, I don't know how to do it.
It's not duplicate, but it solve my problem for $\mathbb F_{p^n}$. But what happen for a field of characteristic $q\neq p$ ?