返回题库

PUMaC 2007 · 数论(A 组) · 第 2 题

PUMaC 2007 — Number Theory (Division A) — Problem 2

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

题目详情

  1. 求最大的整数nn,使得nn等于其首位数字与其各位数字之和的乘积。

英文原题

  1. Find the largest integer n which equals the product of its leading digit and the sum of its digits.
解析

设 nn 首位为 aa,dd 位数。n=a×s(n)n=a\times s(n)。

d=1d=1:n=1n=1。d=2d=2:仅 n=48n=48。d≥3d\ge3 无解。

最大 48\boxed{48}。


英文解析

Let nn have leading digit aa and dd digits. n=a×s(n)n=a\times s(n) where s(n)s(n) is digit sum.

d=1d=1: a=a2⇒a=1a=a^{2}\Rightarrow a=1, n=1n=1.

d=2d=2: 10a+b=a(a+b)⇒b=a(10−a)a−110a+b=a(a+b)\Rightarrow b=\frac{a(10-a)}{a-1}. Only a=4a=4 gives integer b=8b=8, n=48n=48.

d≥3d\ge3: 10d−1≤81d10^{d-1}\le 81d fails for d≥4d\ge4. For d=3d=3, need a+b+c≥100a+b+c\ge100, impossible.

Largest: 48\boxed{48}.