返回题库

PUMaC 2007 · 组合(B 组) · 第 5 题

PUMaC 2007 — Combinatorics (Division B) — Problem 5

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

题目详情

求所有首位数字等于后两位数字之和的三位数之和。

英文原题

  1. Find the sum of all three digit numbers (written in base 10) such that the leading digit is the sum
    of other two digits. Express your answer in base 10.
解析

设百位、十位、个位分别为 a,b,ca,b,c。条件为

a=b+c,a=b+c,

其中 1≤a≤91\le a\le9,0≤b,c≤90\le b,c\le9。固定

s=b+c,s=b+c,

其中 1≤s≤91\le s\le9,则 (b,c)(b,c) 有 s+1s+1 种选择。

对应三位数为

100(b+c)+10b+c=110b+101c.100(b+c)+10b+c=110b+101c.

固定 ss 时,对所有 b+c=sb+c=s 求和,得到

(110+101)s(s+1)2=211s(s+1)2.(110+101)\frac{s(s+1)}2=211\frac{s(s+1)}2.

因此总和为

2112∑s=19s(s+1)=2112(285+45)=211⋅165=34815.\frac{211}{2}\sum_{s=1}^9 s(s+1) =\frac{211}{2}(285+45) =211\cdot165 =\boxed{34815}.

英文解析

Let the hundreds, tens, and ones digits be a,b,ca,b,c. The condition is

a=b+c,a=b+c,

with 1≤a≤91\le a\le 9 and 0≤b,c≤90\le b,c\le9. For each fixed

s=b+c,s=b+c,

where 1≤s≤91\le s\le 9, there are s+1s+1 pairs (b,c)(b,c), namely b=0,1,…,sb=0,1,\ldots,s.

The corresponding number is

100(b+c)+10b+c=110b+101c.100(b+c)+10b+c=110b+101c.

For fixed ss, the sum over all b+c=sb+c=s is

(110+101)s(s+1)2=211s(s+1)2.(110+101)\frac{s(s+1)}2=211\frac{s(s+1)}2.

Thus the total sum is

2112∑s=19s(s+1)=2112(285+45)=211⋅165=34815.\frac{211}{2}\sum_{s=1}^9 s(s+1) =\frac{211}{2}(285+45) =211\cdot165 =\boxed{34815}.