返回题库

AIME 1999 · 第 7 题

AIME 1999 — Problem 7

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

There is a set of 1000 switches, each of which has four positions, called A,B,CA, B, C, and DD. When the position of any switch changes, it is only from AA to BB, from BB to CC, from CC to DD, or from DD to AA. Initially each switch is in position AA. The switches are labeled with the 1000 different integers (2x)(3y)(5z)(2^{x})(3^{y})(5^{z}), where x,yx, y, and zz take on the values 0,1,,90, 1, \ldots, 9. At step i of a 1000-step process, the ii-th switch is advanced one step, and so are all the other switches whose labels divide the label on the ii-th switch. After step 1000 has been completed, how many switches will be in position AA?

解析

Solution

For each iith switch (designated by xi,yi,zix_{i},y_{i},z_{i}), it advances itself only one time at the iith step; thereafter, only a switch with larger xj,yj,zjx_{j},y_{j},z_{j} values will advance the iith switch by one step provided di=2xi3yi5zid_{i}= 2^{x_{i}}3^{y_{i}}5^{z_{i}} divides dj=2xj3yj5zjd_{j}= 2^{x_{j}}3^{y_{j}}5^{z_{j}}. Let N=293959N = 2^{9}3^{9}5^{9} be the max switch label. To find the divisor multiples in the range of did_{i} to NN, we consider the exponents of the number Ndi=29xi39yi59zi\frac{N}{d_{i}}= 2^{9-x_{i}}3^{9-y_{i}}5^{9-z_{i}}. In general, the divisor-count of Nd\frac{N}{d} must be a multiple of 4 to ensure that a switch is in position A:

4n=[(9x)+1][(9y)+1][(9z)+1]=(10x)(10y)(10z)4n = [(9-x)+1] [(9-y)+1] [(9-z)+1] = (10-x)(10-y)(10-z), where 0x,y,z9.0 \le x,y,z \le 9.

We consider the cases where the 3 factors above do not contribute multiples of 4.

  • Case of no 2's:

The switches must be (odd)(odd)(odd)(\mathrm{odd})(\mathrm{odd})(\mathrm{odd}). There are 55 odd integers in 00 to 99, so we have 5×5×5=1255 \times 5 \times 5 = 125 ways.

  • Case of a single 2:

The switches must be one of (2odd)(odd)(odd)(2\cdot \mathrm{odd})(\mathrm{odd})(\mathrm{odd}) or (odd)(2odd)(odd)(\mathrm{odd})(2 \cdot \mathrm{odd})(\mathrm{odd}) or (odd)(odd)(2odd)(\mathrm{odd})(\mathrm{odd})(2 \cdot \mathrm{odd}).

Since 0x,y,z9,0 \le x,y,z \le 9, the terms 21,23,2\cdot 1, 2 \cdot 3, and 252 \cdot 5 are three valid choices for the (2odd)(2 \cdot odd) factor above.

We have (31)352=225{3\choose{1}} \cdot 3 \cdot 5^{2}= 225 ways.

The number of switches in position A is 1000125225=6501000-125-225 = \boxed{650}.