Problem:
The polynomial x2n+1+(x+1)2n is not divisible by x2+x+1 if n equals
Answer Choices:
A. 17
B. 20
C. 21
D. 64
E. 65
Solution:
Let f(x)=x2+x+1. Let gnβ(x)=x2n+1+(x+1)2n,f(x)=(xβr)(xβrβ²), where
r=2β1+β3ββ and rβ²=2β1ββ3ββ
are the roots of f(x)=0. Thus f(x) divides gnβ(x) if and only if both xβr and xβrβ² divide gnβ(x). That is, if gnβ(r)=gnβ(rβ²)=0. Since r and rβ² are complex conjugates, it suffices to determine those n for which gnβ(r)=0.
Note that gnβ(x)=[x2]n+[(x+1)2]n+1. Also note that r and r+1=21+β3ββ are both 6th roots of 1. (It's easy to see this with Argand diagrams.) Thus r2 and (r+1)2 are both cube roots of 1. Thus the value of gnβ(r) depends only on the remainder when n is divided by 3. A direct computation (again easiest with Argand diagrams) shows that
g0β(r)=3,g1β(r)=0,g2β(r)=0
Thus f(x) does not divide gnβ(x) if and only if n is divisible by 3.