Let P(x)=x2002+x1001+1. Which of the following polynomials is a factor of P(x)?
x2−x+1
x2+x+1
x4+1
x6−x3+1
x6+x3+1