The correct option is B 3m+1
Since we know that,
w(3m+1)=w3mw=w and w2(3m+1)=w6mw2=w2
So for n=3m+1, we have, 1+wn+w2n=1+w+w2=0
So n=3m+1 satisfies the equation.
If we substitute n=3m,
We get,
1+ω3m+ω6m=3≠0
n=3m+3 would lead to the same results as option A.
If n=2m+3, we get
L.H.S=1+ω2m+3+ω4m+6
The value of this expression depends on the value of m, hence option D does not satisfy the expression