I am actually interested on cyclotomic polynomials of the form $x^n+1$ (i.e. $n$ is a power of 2, for large $n$).
Are these polynomials irreducible modulo a prime $q$? I already saw that $X^2+1$ is not irreducible modulo 5 because $Z_5$ contains roots of -1. What about $x^{512}-1$? Is there a general criterion?
Thanks