Difference between revisions of "2013 AMC 12A Problems/Problem 25"
m (Unitalicized Im) |
|||
Line 1: | Line 1: | ||
− | Suppose <math>f(z)=z^2+iz+1=c=a+bi</math>. We look for <math>z</math> with <math>Im(z)>0</math> such that <math>a,b</math> are integers where <math>|a|, |b|\leq 10</math>. | + | Suppose <math>f(z)=z^2+iz+1=c=a+bi</math>. We look for <math>z</math> with <math>\text{Im}(z)>0</math> such that <math>a,b</math> are integers where <math>|a|, |b|\leq 10</math>. |
First, use the quadratic formula: | First, use the quadratic formula: |
Revision as of 13:41, 18 February 2013
Suppose . We look for
with
such that
are integers where
.
First, use the quadratic formula:
Generally, consider the imaginary part of a radical of a complex number: , where
.
.
Now let , then
,
,
.
Note that if and only if
. The latter is true only when we take the positive sign, and that
,
or ,
, or
.
In other words, for all ,
satisfies
, and there is one and only one
that makes it true. Therefore we are just going to count the number of ordered pairs
such that
,
are integers of magnitude no greater than
, and that
.
When , there is no restriction on
so there are
pairs;
when , there are
pairs.
So there are in total.