For positive integers n1 and n2 the value of the expression (1+i)n1+(1+i3)n1+(1+i5)n2+(1+i2)n2 where i=√−1 is a real number iff
For positive integers n1,n2 the value of the expression (1+i)n1+(1+i3)n1+(1+i5)n2 + (1+i7)n2 where i=2√−1 is a real number if and only if