设百位、十位、个位分别为 a,b,c。条件为
a=b+c,
其中 1≤a≤9,0≤b,c≤9。固定
s=b+c,
其中 1≤s≤9,则 (b,c) 有 s+1 种选择。
对应三位数为
100(b+c)+10b+c=110b+101c.
固定 s 时,对所有 b+c=s 求和,得到
(110+101)2s(s+1)=2112s(s+1).
因此总和为
2211s=1∑9s(s+1)=2211(285+45)=211⋅165=34815.
英文解析
Let the hundreds, tens, and ones digits be a,b,c. The condition is
a=b+c,
with 1≤a≤9 and 0≤b,c≤9. For each fixed
s=b+c,
where 1≤s≤9, there are s+1 pairs (b,c), namely b=0,1,…,s.
The corresponding number is
100(b+c)+10b+c=110b+101c.
For fixed s, the sum over all b+c=s is
(110+101)2s(s+1)=2112s(s+1).
Thus the total sum is
2211s=1∑9s(s+1)=2211(285+45)=211⋅165=34815.