返回题库

AIME 2015 II · 第 3 题

AIME 2015 II — Problem 3

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Let mm be the least positive integer divisible by 1717 whose digits sum to 1717. Find mm.

解析

Solution 1

The three-digit integers divisible by 1717, and their digit sum:

ms(m)10231191113610153917081871620462215238132551227211289193069323834073571537414391134081242511442104591847617\begin{array}{c|c} m & s(m)\\ \hline 102 & 3 \\ 119 & 11\\ 136 & 10\\ 153 & 9\\ 170 & 8\\ 187 & 16\\ 204 & 6\\ 221 & 5\\ 238 & 13\\ 255 & 12\\ 272 & 11\\ 289 & 19\\ 306 & 9\\ 323 & 8\\ 340 & 7\\ 357 & 15\\ 374 & 14\\ 391 & 13\\ 408 & 12\\ 425 & 11\\ 442 & 10\\ 459 & 18\\ 476 & 17 \end{array} Thus the answer is 476\boxed{476}.

Solution 2 (Shortcut)

We can do the same thing as solution 1, except note the following fact: 102102 is a multiple of 1717 and its digits sum to 33.

Therefore, we can add it onto an existing multiple of 1717 that we know of to have s(m)=14s(m) = 14, shown in the right-hand column, provided that its units digit is less than 88 and its hundreds digit is less than 99. Unfortunately, 6868 does not fit the criteria, but 374374 does, meaning that, instead of continually adding multiples of 1717, we can stop here and simply add 102102 to reach our final answer of 476\boxed{476}.

~Tiblis

(Comment from another person: Actually, this doesn't work because you can't be sure there are no numbers between 374 and 476 that work. This solution just lucks out.)

Solution 3

The digit sum of a base 1010 integer mm is just m(mod9)m\pmod{9}. In this problem, we know 17m17\mid m, or m=17km=17k for a positive integer kk.

Also, we know that m171(mod9)m\equiv 17\equiv -1\pmod{9}, or 17kk1(mod9)17k\equiv -k\equiv -1\pmod{9}.

Obviously k=1k=1 is a solution. This means in general, k=9x+1k=9x+1 is a solution for non-negative integer xx.

Checking the first few possible solutions, we find that m=476m=\boxed{476} is the first solution that has s(m)=17s(m)=17, and we're done.

Solution 4

Since the sum of the digits in the base-10 representation of mm is 1717, we must have m17(mod9)m\equiv 17 \pmod{9} or m1(mod9)m\equiv -1\pmod{9}. We also know that since mm is divisible by 17, m0(mod17)m\equiv 0 \pmod{17}.

To solve this system of linear congruences, we can use the Chinese Remainder Theorem. If we set m(1)(17)(8)(mod153)m\equiv (-1)(17)(8)\pmod {153}, we find that m0(mod17)m\equiv 0\pmod{17} and m1(mod9)m\equiv -1\pmod{9}, because 1781361(mod9)17\cdot 8\equiv 136 \equiv 1\pmod{9}. The trick to getting here was to find the number xx such that 17x1(mod9)17x\equiv 1\pmod{9}, so that when we take things (mod9)\pmod{9}, the 1717 goes away. We can do this using the Extended Euclidean Algorithm or by guess and check to find that x8(mod9)x\equiv 8\pmod{9}.

Finally, since m17(mod153)m\equiv 17\pmod{153}, we repeatedly add multiples of 153153 until we get a number in which its digits sum to 17, which first happens when m=476m=\boxed{476}.

Solution 5

We proceed by casework on the number of digits. Clearly the answer must have at least two digits, seeing as the maximum digit sum for a one-digit number is 9. The answer must also have less than 4 digits, because this is the AIME.

Case 1: The answer is a 2-digit number. Represent the number as 10a+b10a + b, where 0<a90 < a \leq 9 and 0b90 \leq b \leq 9. The conditions of the problem translated into algebra are:

1710a+b17|10a+b a+b=17a+b=17 By the Euclidean Algorithm, this is equivalent to:

179a17|9a 9 is not a factor of 17, so 17a17|a. So aa must be a multiple of 17, but this is impossible because of the conditions we placed on aa and bb. (Alternatively, note that the only possible options are 89 and 98, and neither works.)

Case 2: The answer is a 3-digit number. Represent the number as 100a+10b+c100a+10b+c, where 0<a90 < a \leq 9 and 0b,c90 \leq b,c \leq 9. Translating the conditions again:

17100a+10b+c17|100a+10b+c a+b+c=17a+b+c=17 1799a+9b17|99a+9b 179(11a+b)17|9(11a+b) 1711a+b17|11a+b Testing multiples of 17 yields (4,7,6)(4, 7, 6) as the minimal solution for (a,b,c)(a, b, c) and thus the answer is 476\boxed{476}.

- gting

Note: We have 11a+bmod(17)11a+b \equiv \mod(17). Doing some experimentation for the smallest value of aa, since we want to minimize abc10abc_{10}, we get 11a+b=51    a=4,b=7,c=611a+b=51 \implies a=4, b=7, c=6. Trying 1717 and 3434 don't work, because 0c90 \leq c \leq 9. Also, one can use long division to verify that 1717 is a divisor of 476476, specifically 1728=47617 \cdot 28=476. So the answer is 476476. ~First

Solution 6 (Simple Casework)

Let mm be the integer with digits anan1a1\overline{a_n a_{n-1} \dots a_1} such that ai=17\sum a_i = 17 and 17m17 \mid m.

For 1-digit numbers, a19a_1 \le 9, so no solution exists. For 2-digit numbers, a2+a1=17a_2 + a_1 = 17 only allows 8989 and 9898, neither of which is divisible by 1717. Thus, mm must be at least a 3-digit integer.

For a 3-digit number m=100a3+10a2+a1m = 100a_3 + 10a_2 + a_1, the condition m0(mod17)m \equiv 0 \pmod{17} simplifies to:

100a3+10a2+a115a3+10a2+a10(mod17)100a_3 + 10a_2 + a_1 \equiv 15a_3 + 10a_2 + a_1 \equiv 0 \pmod{17} We test a3=1,2,3,4,a_3 = 1, 2, 3, 4, \dots to find the smallest mm. For each a3a_3, we check if any value a2a1{17k+2a3}\overline{a_2a_1} \in \{17k + 2a_3\} satisfies the digit sum a2+a1=17a3a_2 + a_1 = 17 - a_3.

Reference Multiples of 17: {00,17,34,51,68,85}\{00, 17, 34, 51, 68, 85\} (Realistically, you should do the following part in your head.)

  • Case a3=1a_3 = 1: a2a12(mod17)\overline{a_2a_1} \equiv 2 \pmod{17}. Resulting set: {02,19,36,53,70,87}\{02, 19, 36, 53, 70, 87\}. Target sum S=171=16S = 17 - 1 = 16. (None work)
  • Case a3=2a_3 = 2: a2a14(mod17)\overline{a_2a_1} \equiv 4 \pmod{17}. Resulting set: {04,21,38,55,72,89}\{04, 21, 38, 55, 72, 89\}. Target sum S=172=15S = 17 - 2 = 15. (None work)
  • Case a3=3a_3 = 3: a2a16(mod17)\overline{a_2a_1} \equiv 6 \pmod{17}. Resulting set: {06,23,40,57,74,91}\{06, 23, 40, 57, 74, 91\}. Target sum S=173=14S = 17 - 3 = 14. (None work)
  • Case a3=4a_3 = 4: a2a18(mod17)\overline{a_2a_1} \equiv 8 \pmod{17}. Resulting set: {08,25,42,59,76,93}\{08, 25, 42, 59, 76, 93\}. Target sum S=174=13S = 17 - 4 = 13.

For 76, the sum 7+6=137+6=13 matches SS.

The smallest integer is 476\boxed{476}.

~LI,CHENXI

Video Solution

https://www.youtube.com/watch?v=9re2qLzOKWk&t=133s

~MathProblemSolvingSkills.com