返回题库

PUMaC 2009 · 数论(A 组) · 第 6 题

PUMaC 2009 — Number Theory (Division A) — Problem 6

专题
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} )
解析

设 s=s(n)s=s(n)。2s=s(n2)2^{s}=s(n^{2})。nn 无数字 0。

d≤3d\le3(否则 29d2^{9d} 远大于 18d18d)。s≤5s\le5。

检验 ss 值:仅 s=2s=2 有解。n=11n=11 时 s(121)=4=22s(121)=4=2^{2}。

最大 n=11n = \boxed{11}。


英文解析

s(m)s(m) = sum of digits of mm. Find largest positive integer nn with no zero digits satisfying 2s(n)=s(n2)2^{s(n)} = s(n^{2}).

Let s=s(n)s = s(n). Then 2s=s(n2)2^{s} = s(n^{2}). Since nn has no zero digits, each digit is 1-9.

s(n2)≤9⋅(number of digits of n2)s(n^{2}) \le 9 \cdot \text{(number of digits of } n^{2}). If nn has dd digits, n2n^{2} has at most 2d2d digits, so s(n2)≤18ds(n^{2}) \le 18d.

Meanwhile s=s(n)≤9ds = s(n) \le 9d. So 29d≤18d2^{9d} \le 18d for large enough dd, which is impossible for d≥4d \ge 4 (since 2362^{36} is enormous). So d≤3d \le 3.

For d≤3d \le 3: s≤27s \le 27, 2s≤18d≤542^{s} \le 18d \le 54. So 2s≤542^{s} \le 54, s≤5s \le 5 (since 25=322^{5}=32, 26=642^{6}=64).

s∈{1,2,3,4,5}s \in \{1,2,3,4,5\}. Test each: need nn with digit sum ss, no zeros, and s(n2)=2ss(n^{2}) = 2^{s}.

s=1s=1: n=1n=1, n2=1n^{2}=1, s(1)=1≠2s(1)=1 \neq 2. n=11n=11: sum=2... no.
s=2s=2: n=2n=2, 22=42^{2}=4, s(4)=4s(4)=4 ✓. n=11n=11, 121121, s=4s=4 ✓. n=2n=2 is candidate.
s=3s=3: n=3n=3, n2=9n^{2}=9, s=9≠8s=9 \neq 8. n=12n=12, 144144, s=9≠8s=9 \neq 8. n=21n=21, 441441, s=9s=9. n=111n=111, 1232112321, s=9s=9.
s=4s=4: n=4n=4, n2=16n^{2}=16, s=7≠16s=7 \neq 16.
s=5s=5: n=5n=5, n2=25n^{2}=25, s=7≠32s=7 \neq 32.

Largest nn with s=2s=2: try 2-digit numbers with sum 2: 11, 20 (has zero). 11 works (s(121)=4s(121)=4). Three-digit with sum 2: 101 (has zero), 110 (has zero), 200 (has zero). So 11 is max with sum 2.

Largest nn: 11\boxed{11}.