x^p-1=(x^(p/2) + 1)(x^(p/2) - 1)