The correct option is
D n1 and
n2 can take any positive integral values
Given:-
n1 and n2 are positive integers.Value of (1+i)n1+(1+i3)n1+(1+i5)n2+(1+i7)n2 is a real no.
To find the condition for which the value of given them is a real no.
We know that,
Expansion of (1+i)n=nC0+nC1i+nC2i2+nC3i3+⋯+nCnin ...... (1)
Expansion of (1−i)n=nC0−nC1i+nC2i2−nC3i3+⋯+(−1)nnCnin ...... (2)
By adding equations (1) and (2), the odd terms get cancelled out and we get,
(1+i)n+(1−i)n=2 nC0+2 nC2i2+2 nC4i4+⋯
We know that, i=√−1 ⇒i2=−1
∴(1+i)n+(1−i)n=2 nC0−2 nC2+2 nC4⋯
Therefore, the value of (1+i)n+(1+i)n
is always real
(1+i)n1+(1+i3)n1+(1+i5)n2+(1+i7)n2
=(1+i)n1+[1+i2(i)]n1+(1+i5)n2+[1+(i5)(i2)]n2
=(1+i)n1+(1−i)n1+(1+i5)n2+(1−i5)n2
always real
= real no. +[1+(i2)(i2)i]n2+[1−(i5)(i2)]n2
= real no. +(1+i)n2+(1−i)n2
always reals
Hence, any positive integral value of n1 and n2 can give the real value
Hence, n1 and n2 can take any positiveintegral value.