Take a test Sign in 中文
← Exercise 664 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
AIME Contents · by chapter
Digits (23)
Primes (14)
Divisors, GCD, and LCM (28)
Divisibility (22)
Fractions, Decimals, and the Floor Function (14)
Bases (19)
Modular Arithmetic (30)
Integer Equations (29)

Exercises and their solutions

Exercise 664
Given a positive integer $n$, it can be shown that every complex number of the form $r+si$, where $r$ and $s$ are integers, can be uniquely expressed in the base $-n+i$ using the integers $0,1,2,\ldots,n^2$ as digits. That is, the equation \[r+si=a_m(-n+i)^m+a_{m-1}(-n+i)^{m-1}+\cdots +a_1(-n+i)+a_0\] is true for a unique choice of non-negative integer $m$ and digits $a_0,a_1,\ldots,a_m$ chosen from the set $\{0,1,2,\ldots,n^2\}$, with $a_m\ne 0$. We write \[r+si=(a_ma_{m-1}\ldots a_1a_0)_{-n+i}\] to denote the base $-n+i$ expansion of $r+si$. There are only finitely many integers $k+0i$ that have four-digit expansions \[k=(a_3a_2a_1a_0)_{-2+i}~~~~a_3\ne 0.\] Find the sum of all such $k$.
← Back to Problem 664
Solution
  1. $(-2+i)^2=3-4i$ and $(-2+i)^3=-2+11i$. The imaginary part of $k$ is $11a_3-4a_2+a_1=0$ with digits $0$–$4$.
  2. Since $a_3\ge1$, $a_3=1$ needs $4a_2-a_1=11$, so $a_2=3$, $a_1=1$. Then $k=-2a_3+3a_2-2a_1+a_0=-2+9-2+a_0=5+a_0$, for $a_0=0,\dots,4$ gives $k=5,6,7,8,9$, with sum $35$.
  3. ($a_3\ge2$ would need $4a_2-a_1\ge22$, impossible.)
  4. The answer is $\boxed{035}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year
1996 (1 problems)
1991 (1 problems)