返回题库

AIME 2004 I · 第 1 题

AIME 2004 I — Problem 1

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

The digits of a positive integer nn are four consecutive integers in decreasing order when read from left to right. What is the sum of the possible remainders when nn is divided by 3737?

解析

Solution 1

A brute-force solution to this question is fairly quick, but we'll try something slightly more clever: our numbers have the form (n+3)(n+2)(n+1)(n){\underline{(n+3)}}\,{\underline{(n+2)}}\,{\underline{( n+1)}}\,{\underline {(n)}}=1000(n+3)+100(n+2)+10(n+1)+n=3210+1111n= 1000(n + 3) + 100(n + 2) + 10(n + 1) + n = 3210 + 1111n, for n{0,1,2,3,4,5,6}n \in \lbrace0, 1, 2, 3, 4, 5, 6\rbrace.

Now, note that 337=1113\cdot 37 = 111 so 3037=111030 \cdot 37 = 1110, and 9037=333090 \cdot 37 = 3330 so 8737=321987 \cdot 37 = 3219. So the remainders are all congruent to n9(mod37)n - 9 \pmod{37}. However, these numbers are negative for our choices of nn, so in fact the remainders must equal n+28n + 28.

Adding these numbers up, we get (0+1+2+3+4+5+6)+728=217(0 + 1 + 2 + 3 + 4 + 5 + 6) + 7\cdot28 = \boxed{217}

Solution 2

There are only 77 possible values of nn: 3210,4321,5432,,98763210, 4321, 5432, \cdots, 9876.

32103210 gives a remainder of 2828 when divided by 3737. To calculate the remainders of the other integers, notice that each number is 11111111 more than the previous number. Since 11111111 gives a remainder of 11 when divided by 3737, the remainders of the other integers will be 29,30,31,,3429, 30, 31, \cdots, 34.

Therefore, our answer is 28+29+30+31+32+33+34=28+3427=21728 + 29 + 30 + 31 + 32 + 33 + 34 = \frac{28 + 34}{2} \cdot 7 = \boxed{217}. ~Viliciri