2013 AMC 12A Problem 25

Attempt Problem 25 of the 2013 AMC 12A below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2013 AMC 12A solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

25.

Let f:C→Cf : \mathbb{C} \to \mathbb{C} be defined by f(z)=z2+iz+1.f(z) = z^2 + iz + 1. How many complex numbers zz are there such that Im⁡(z)>0\operatorname{Im}(z) \gt 0 and both the real and the imaginary parts of f(z)f(z) are integers with absolute value at most 10?10?
399399
401401
413413
431431
441441
Answer: A
Concepts:complex numberlattice point
Small hint:
Show ff is one-to-one on the upper half-plane, so counting zz equals counting valid f(z)f(z)
Big hint:
The image is {w:Re⁡(w)<(Im⁡(w))2+1};\{w : \operatorname{Re}(w) \lt (\operatorname{Im}(w))^2 + 1\}; count lattice points with ∣Re⁡∣,∣Im⁡∣≤10|\operatorname{Re}|, |\operatorname{Im}| \le 10
Solution:
On the upper half-plane H,H, if f(z1)=f(z2)f(z_1) = f(z_2) then (z1−z2)(z1+z2+i)=0;(z_1 - z_2)(z_1 + z_2 + i) = 0; since Im⁡(z1),Im⁡(z2)>0,\operatorname{Im}(z_1), \operatorname{Im}(z_2) \gt 0, the factor z1+z2+i≠0,z_1 + z_2 + i \ne 0, so ff is one-to-one on H.H.
For real r,r, the boundary values f(r)=r2+1+irf(r)=r^2+1+ir trace the parabola Re⁡(w)=(Im⁡(w))2+1.\operatorname{Re}(w)=(\operatorname{Im}(w))^2+1. Since f(i)=−1f(i)=-1 lies to its left and ff is continuous and one-to-one on H,H, its image consists precisely of the values ww satisfying Re⁡(w)<(Im⁡(w))2+1.\operatorname{Re}(w)<(\operatorname{Im}(w))^2+1. Thus we count w=a+ibw = a + ib with a,b∈Z,a, b \in \mathbb{Z}, ∣a∣,∣b∣≤10,|a|, |b| \le 10, and a<b2+1:a \lt b^2 + 1: ∣S∣=212−∑b=−33(10−b2)=441−42=399. \begin{gathered} |S| = 21^2 \\ {}- \sum_{b=-3}^{3}(10 - b^2) \\ = 441 - 42 = 399. \end{gathered}
Thus, the correct answer is A.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.