On the upper half-plane
H, if
f(z1)=f(z2) then
(z1−z2)(z1+z2+i)=0; since
Im(z1),Im(z2)>0, the factor
z1+z2+i=0, so
f is one-to-one on
H.
For real
r, the boundary values
f(r)=r2+1+ir trace the parabola
Re(w)=(Im(w))2+1. Since
f(i)=−1 lies to its left and
f is continuous and one-to-one on
H, its image consists precisely of the values
w satisfying
Re(w)<(Im(w))2+1. Thus we count
w=a+ib with
a,b∈Z, ∣a∣,∣b∣≤10, and
a<b2+1: ∣S∣=212−b=−3∑3(10−b2)=441−42=399.
Thus, the correct answer is
A.