Composing the map with itself,
F(F(z))=z−iz+i−iz−iz+i+i=(z+i)−i(z−i)(z+i)+i(z−i)=(1−i)(z−1)(1+i)(z+1)=iz−1z+1, and applying
F once more gives
F(F(F(z)))=iz−1z+1−iiz−1z+1+i=(z+1)−(z−1)(z+1)+(z−1)=z, so the sequence
z0,z1,z2,… is periodic with period
3.
Since
2002=3⋅667+1, we have
z2002=z1=F(z0) =z0−iz0+i =13711371+2i =1+274i. Thus
a+b=1+274=275.