PUMaC 2009 · 数论(B 组) · 第 8 题
PUMaC 2009 — Number Theory (Division B) — Problem 8
题目详情
英文原题
- Let s ( m ) denote the sum of the digits of the positive integer m. Find the largest positive
integer that has no digits equal to zero and satisfies the equation
= s ( )
1
解析
英文解析
- Let s ( m ) denote the sum of the digits of the positive integer m. Find the largest positive
integer that has no digits equal to zero and satisfies the equation
= s ( )
Solution. 1111. Suppose n has k digits, that is ≤ n < , then k ≤ s ( n ) by the
condition. Also, , hence has at most 2 k digits, and so s ( ) ≤ 18 k. Thus
≤ = s ( ) ≤ 18 k
which implies k ≤ 6, and so ≤ 18 × 6 or also s ( n ) ≤ 6. If s ( n ) = 6 then n is divisible by
3 so and s ( ) = is divisible by 3, which is impossible. Hence 1 ≤ s ( n ) ≤ 5 and so
from the equation, the possible values of s ( ) are 2,4,8,16, or 32. But the remainder of s ( )
modulo 9 is the same as the remainder of modulo 9, which can be only 0,1,4 or 7. Hence
s ( n ) is either 2 or 4, and the greatest number satisfying the conditions of the problem is 1111.
3