For p a prime and q a prime power (q not a power of p), I'm trying to find the polynomial divisors of $x^p -1$ in $Z_{q}[x]$. In particular, I'm hoping to present a general idea of the minimum degree of a monic divisor of $x^p -1$ in $Z_{q}[x]$.
I was hoping to approach this using cyclotomic polynomials of deg n, where n is ranges through the divisors of p, since $x^N -1$ is equal to the product of the cyclotomic polynomials with degrees ranging through the divisors of N.
However, I am unsure how working in $Z_{q}[x]$ actually comes into this. Is there a problem with the fact that I am attempting to factor $x^p -1$ outside of $Z_{p}[x]$? If so, are there any more effective ways to approach this?