The number of natural number $n$ in the interval $[1005,2010]$ for which the polynomial
$$1+x+x^2+x^3\dots +x^{(n-1)}$$ divides the polynomial $$1+x^2+x^4\dots+x^{2010}$$ is:
I could realize that the terms in the two polynomials are in GP and I applied the sum to n terms of a GP formula and then divided both the polynomials.
What I get is $(x^{2010}-1)/(x^{n}-1)$.
Now how to proceed?