ab+100ab+2016−(ab+100∣a+b∣)i
Find the number of ordered pairs of integers (a,b) such that this complex number is a real number.
解析
Solution
We consider two cases:
Case 1:ab≥−2016.
In this case, if
0=Im(ab+100ab+2016−(ab+100∣a+b∣)i)=−ab+100∣a+b∣
then ab=−100 and ∣a+b∣=0=a+b. Thus ab=−a2 so a2<2016. Thus a=−44,−43,...,−1,0,1,...,43,44, yielding 89 values. However since ab=−a2=−100, we have a=±10. Thus there are 87 allowed tuples (a,b) in this case.
Case 2:ab<−2016.
In this case, we want
0=Im(ab+100ab+2016−(ab+100∣a+b∣)i)=ab+100−ab−2016−∣a+b∣
Squaring, we have the equations ab=−100 (which always holds in this case) and
−(ab+2016)=∣a+b∣.
Then if a>0 and b<0, let c=−b. If c>a,
ac−2016=c−a⇒(a−1)(c+1)=2015⇒(a,b)=(2,−2014),(6,−402),(14,−154),(32,−64).
Note that ab<−2016 for every one of these solutions. If c<a, then
ac−2016=a−c⇒(a+1)(c−1)=2015⇒(a,b)=(2014,−2),(402,−6),(154,−14),(64,−32).
Again, ab<−2016 for every one of the above solutions. This yields 8 solutions. Similarly, if a<0 and b>0, there are 8 solutions. Thus, there are a total of 16 solutions in this case.