Take a test Sign in 中文
← Exercise 599 →
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 599
There is a set of 1000 switches, each of which has three positions, called $A, B$, and $C$. When the position of any switch changes, it is only from $A$ to $B$, from $B$ to $C$, or from $C$ to $A$. Initially each switch is in position $A$. The switches are labeled with the 1000 different integers $(2^{x})(3^{y})(5^{z})$, where $x, y$, and $z$ take on the values $0, 1, \ldots, 9$. At step $i$ of a 1000-step process, the $i$-th switch is advanced one step, and so are all the other switches whose labels divide the label on the $i$-th switch. After step 1000 has been completed, how many switches will be in position $A$?
← Back to Problem 599
Solution
  1. The switch $2^x3^y5^z$ is advanced once for each label it divides, i.e.\ $(10-x)(10-y)(10-z)$ times.
  2. It ends at $A$ iff this is divisible by $3$.
  3. Each factor ranges over $1,\dots,10$, of which $7$ are not divisible by $3$.
  4. So $7^3=343$ switches are not at $A$, and $1000-343=657$ are.
  5. The answer is $\boxed{657}$.
Search Go to Prev      Next

Contact Us

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