Skip to main content

1989 AIME Problem 14

Problem 14 of 15HarderAlgebraArithmetic

Given a positive integer n,n, it can be shown that every complex number of the form r+si,r+si, where rr and ss are integers, can be uniquely expressed in the base −n+i-n+i using the integers 0,0, 1,1, …,\ldots, n2n^2 as digits. That is, the equation r+si=am(−n+i)m+am−1(−n+i)m−1+⋯+a1(−n+i)+a0\begin{aligned}r+si={}&a_m(-n+i)^m\\&+a_{m-1}(-n+i)^{m-1}\\&+\cdots+a_1(-n+i)\\&+a_0\end{aligned} is true for a unique choice of nonnegative integer mm and digits a0,a_0, a1,a_1, …,\ldots, ama_m chosen from the set {0,1,2,…,n2},\{0,1,2,\ldots,n^2\}, with am≠0.a_m\ne0. We write r+si=(amam−1…a1a0)−n+ir+si=(a_ma_{m-1}\ldots a_1a_0)_{-n+i} to denote the base −n+i-n+i expansion of r+si.r+si. There are only finitely many integers k+0ik+0i that have four-digit expansions k=(a3a2a1a0)−3+ia3≠0.k=(a_3a_2a_1a_0)_{-3+i}\qquad a_3\ne0. Find the sum of all such k.k.

Your answer

Integer from 0 to 999
Show solution

Solution

Let b=−3+i.b=-3+i. Then b2=8−6ib^2=8-6i and b3=−18+26i.b^3=-18+26i. The imaginary part of a3b3+a2b2+a1b+a0a_3b^3+a_2b^2+a_1b+a_0 is 26a3−6a2+a1.26a_3-6a_2+a_1. Thus a1=6a2−26a3.a_1=6a_2-26a_3. With 1≤a3≤91\leq a_3\leq9 and 0≤a1,a2≤9,0\leq a_1,a_2\leq9, the only possibilities are (a3,a2,a1)=(1,5,4),(a3,a2,a1)=(2,9,2).\begin{gathered}(a_3,a_2,a_1)=(1,5,4),\\(a_3,a_2,a_1)=(2,9,2).\end{gathered} The corresponding real parts are 10+a010+a_0 and 30+a0,30+a_0, respectively. As a0a_0 ranges from 00 through 9,9, the required sum is (10+11+⋯+19)+(30+31+⋯+39)=145+345=490.\begin{aligned}&(10+11+\cdots+19)\\&\quad+(30+31+\cdots+39)\\&=145+345=490.\end{aligned}
AoPS wiki

Tagged: complex number · number base · system of equations

More practice