The correct option is D n1>0,n2>0
Using i3=−i,i5=i and i7=−1, we can write the given expression as (1+i)n1+(1−i)n1+(1+i)n2+(1−i)n2
=2[n1c0+n1c4i4+.....]+2[n2c0+n2C2i2+n2C4i4.....]=2[n2C0−n1C2+n1C4+....]+2[n2C0−n2C2+n2C4+....]
This is a real number irrespective of the values of n1and n2.