返回题库

PUMaC 2009 · 数论(B 组) · 第 8 题

PUMaC 2009 — Number Theory (Division B) — Problem 8

专题
Contest Math / 竞赛数学
难度
L3
来源
PUMaC

题目详情

英文原题

  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
    2s(n)2^{s(n)} = s ( n2n^{2} )
    1
解析

英文解析

  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
    2s(n)2^{s(n)} = s ( n2n^{2} )
    Solution. 1111. Suppose n has k digits, that is 10k−110^{k-1} ≤ n < 10k10^{k}, then k ≤ s ( n ) by the
    condition. Also, n2<102kn^{2}<10^{2k}, hence n2n^{2} has at most 2 k digits, and so s ( n2n^{2} ) ≤ 18 k. Thus
    2k2^{k} ≤ 2s(n)2^{s(n)} = s ( n2n^{2} ) ≤ 18 k
    which implies k ≤ 6, and so 2s(n)2^{s(n)} ≤ 18 × 6 or also s ( n ) ≤ 6. If s ( n ) = 6 then n is divisible by
    3 so n2n^{2} and s ( n2n^{2} ) = 2s(n)2^{s(n)} is divisible by 3, which is impossible. Hence 1 ≤ s ( n ) ≤ 5 and so
    from the equation, the possible values of s ( n2n^{2} ) are 2,4,8,16, or 32. But the remainder of s ( n2n^{2} )
    modulo 9 is the same as the remainder of n2n^{2} 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