返回题库

AIME 1984 · 第 2 题

AIME 1984 — Problem 2

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

The integer nn is the smallest positive multiple of 1515 such that every digit of nn is either 88 or 00. Compute n15\frac{n}{15}.

解析

Solution 1

Any multiple of 15 is a multiple of 5 and a multiple of 3.

Any multiple of 5 ends in 0 or 5; since nn only contains the digits 0 and 8, the units digit of nn must be 0.

The sum of the digits of any multiple of 3 must be divisible by 3. If nn has aa digits equal to 8, the sum of the digits of nn is 8a8a. For this number to be divisible by 3, aa must be divisible by 3. We also know that a>0a>0 since nn is positive. Thus nn must have at least three copies of the digit 8.

The smallest number which meets these two requirements is 8880. Thus the answer is 888015=592\frac{8880}{15} = \boxed{592}.

Solution 2

Notice how 810k8(5)k5(mod15)8 \cdot 10^k \equiv 8 \cdot (-5)^k \equiv 5 \pmod{15} for all integers k2k \geq 2. Since we are restricted to only the digits 8,08,0, because 87(mod15)8\equiv -7 \pmod{15} we can't have an 88 in the optimal smallest number. We can just 'add' fives to quickly get 150(mod15)15 \equiv 0 \pmod{15} to get our answer. Thus n is 80+800+8000=888080+800+8000=8880 and n/15=8880/15=592n/15=8880/15=\boxed{592}