返回题库

AIME 2015 I · 第 9 题

AIME 2015 I — Problem 9

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Let SS be the set of all ordered triple of integers (a1,a2,a3)(a_1,a_2,a_3) with 1a1,a2,a3101 \le a_1,a_2,a_3 \le 10. Each ordered triple in SS generates a sequence according to the rule an=an1an2an3a_n=a_{n-1}\cdot | a_{n-2}-a_{n-3} | for all n4n\ge 4. Find the number of such sequences for which an=0a_n=0 for some nn.

解析

Solution 1

Let a1=x,a2=y,a3=za_1=x, a_2=y, a_3=z. First note that if any absolute value equals 0, then an=0a_n=0. Also note that if at any position, an=an1a_n=a_{n-1}, then an+2=0a_{n+2}=0. Then, if any absolute value equals 1, then an=0a_n=0. Therefore, if either yx|y-x| or zy|z-y| is less than or equal to 1, then that ordered triple meets the criteria. Assume that to be the only way the criteria is met. To prove, let yx>1|y-x|>1, and zy>1|z-y|>1. Then, a42za_4 \ge 2z, a54za_5 \ge 4z, and a64z2a_6 \ge 4z^2. However, since the minimum values of a5a_5 and a6a_6 are equal, there must be a scenario where the criteria was met that does not meet our earlier scenarios. Calculation shows that to be z=1z=1, yx=2|y-x|=2. Again assume that any other scenario will not meet criteria. To prove, divide the other scenarios into two cases: z>1z>1, yx>1|y-x|>1, and zy>1|z-y|>1; and z=1z=1, yx>2|y-x|>2, and zy>1|z-y|>1. For the first one, a42za_4 \ge 2z, a54za_5 \ge 4z, a68za_6 \ge 8z, and a716za_7 \ge 16z, by which point we see that this function diverges. For the second one, a43a_4 \ge 3, a56a_5 \ge 6, a618a_6 \ge 18, and a754a_7 \ge 54, by which point we see that this function diverges.

Therefore, the only scenarios where an=0a_n=0 is when any of the following are met: yx<2|y-x|<2 (280 options) zy<2|z-y|<2 (280 options, 80 of which coincide with option 1) z=1z=1, yx=2|y-x|=2. (16 options, 2 of which coincide with either option 1 or option 2) Adding the total number of such ordered triples yields 280+28080+162=494280+280-80+16-2=\boxed{494}.

  • Note to author:

Because a42za_4 \ge 2z, a54za_5 \ge 4z, a68za_6 \ge 8z, and a716za_7 \ge 16z doesn't mean the function diverges. What if z=7z = 7, a4=60a_4 = 60, and a5=30a_5 = 30 too?

  • Note to the Note to author:

This isn't possible because the difference between is either 0, 1, or some number greater than 1. If a4=63, then a5a_4 = 63\text{, then }a_5 is either 0, 63, or some number greater than 63 (since it must be a multiple of zz).

Solution 2

Note that the only way for a 00 to be produced at ana_n is if either an1=0a_{n-1} = 0 or an2=an3a_{n-2} = a_{n-3}. Since the first one will eventually get to the first three assuming that there is no an2=an3a_{n-2} = a_{n-3} for any nn, that is not possible because a1,a2,a3>=1a_1 , a_2 , a_3 >= 1. Therefore, we need an2=an3a_{n - 2} = a_{n - 3}.

If 22 consecutive numbers out of a1,a2,a3a_1 , a_2 , a_3 are equal, then those cases work(a1a_1 and a2a_2 or a2a_2 and a3a_3 NOT\textbf{NOT} a1a_1 and a3a_3). This is simply 1010+101010=19010 \cdot 10 + 10 \cdot 10 - 10 = 190 by PIE.

Now, note that if any of the first three numbers have difference of 11, we have another working case. First, we calculate how many there are given exactly one of a1,a2a_1,a_2 or a2,a3a_2,a_3 have difference 11. Given 33 numbers such that the first 22 have difference 11, exactly 44 permutations work(assuming the numbers are x,y,x,y, and zz such that xy=1|x-y| = 1): x,y,zx,y,z; y,x,zy,x,z; z,x,yz,x,y; and z,y,xz,y,x. If the two consecutive numbers are 11 and 22, then the last number has 77 possiblities: 4,5,6,,104,5,6,\cdots , 10. This is symmetric for 99 and 1010. If the consecutive numbers are (2,3),,(8,9)(2,3),\cdots , (8,9), there are 66 possibilities(1010 minus the numbers themselves and the numbers directly above and below). Note that we are not counting any cases already counted in the first case. Therefore, this case gives you 4(7+67+7)=2244(7 + 6 * 7 + 7) = 224. Now we consider the case that there both adjacent aas have increments of 11.

+1,+18+1 , +1 \rightarrow 8 1,18-1 , -1 \rightarrow 8 +1,19+1 , -1 \rightarrow 9 1,+19-1 , +1 \rightarrow 9 Therefore this gives 224+8+8+9+9=258224 + 8 + 8 + 9 + 9 = 258. However, note that we have to add the case where you have 33 consecutive numbers in arrangement such that only 22 consecutive numbers have difference 11. For example, 1,3,21,3,2 is one such triple. There are 88 triples of consecutive numbers and 44 ways to arrange each one(e.x: (1,3,2);(3,1,2);(2,1,3);(2,3,1)(1,3,2);(3,1,2);(2,1,3);(2,3,1)). This adds on 32 working cases, so this case gives 258+32=290258 + 32 = 290.

Note that there is an ultraspecial(Yes, I know that's not a word) case where we generate a pair of aia_i that have difference one. This can only happen if a3=1a_3 = 1 and a1a_1 and a2a_2 have difference 22. This contributes 1414 cases(282 * 8 and then subtract 22 because of the cases 3,1,13,1,1 and 4,2,14,2,1).

Therefore, our answer is 190+290+14=494190 + 290 + 14 = \boxed{494}. Solution by hyxue

Video Solution

https://youtu.be/nxieVbkk0jY

~MathProblemSolvingSkills.com