第 1230 题:(2013 AMC 12a, 25)
Let $f : \mathbb{C} \to \mathbb{C}$ be defined by $f(z) = z^2 + iz + 1$. How many complex numbers $z$ are there such that $\text{Im}(z) > 0$ and both the real and the imaginary parts of $f(z)$ are integers with absolute value at most $10$?
$\textbf{(A)} \ 399$ $\textbf{(B)} \ 401$ $\textbf{(C)} \ 413$ $\textbf{(D)} \ 431$ $\textbf{(E)} \ 441$
- $f(z)=\left(z+\frac i2\right)^2+\frac54$. Let $u=z+\frac i2$; then $\operatorname{Im}z>0$ means $\operatorname{Im}u>\frac12$, and $u^2=w-\frac54$ where $w=f(z)=a+bi$ with $|a|,|b|\le10$.
- For $u^2=c+bi$ ($c=a-\frac54$), $(\operatorname{Im}u)^2=\frac{|u^2|-c}2>\frac14$ means $b^2>c+\frac14$, i.e.\ $b^2>a-1$; exactly one of the two square roots has positive imaginary part.
- Count the pairs $(a,b)$ with $-10\le a,b\le10$ and $a\le b^2$: $b=0$ allows $11$ values of $a$; $b=\pm1$, $12$ each; $b=\pm2$, $15$ each; $b=\pm3$, $20$ each; the $14$ values with $|b|\ge4$ allow all $21$. Total $11+24+30+40+294=399$. The answer is (A).
Let $f(z)=z^2-2iz$. How many complex numbers $z$ with $\operatorname{Im}z>0$ have $f(z)=a+bi$ with integers $a$, $b$ satisfying $|a|\le3$ and $|b|\le3$?