Problem 725 题目发布于 2020-09-12 翻译更新于 2020-12-21 Problem 725 Digit sum numbersA number where one digit is the sum of the other digits is called a digit sum number or DS-number for short. For example, 352, 3003 and 32812 are DS-numbers. We define S(n) to be the sum of all DS-numbers of n digits or less. You are given S(3)=63270 and S(7)=85499991450. Find S(2020). Give your answer modulo 1016. 数字和数若一个数中有一位数字是其它数字之和,则称这个数为数字和数或简称为DS-数。例如,352、3003和32812都是DS-数。 记S(n)为所有n位及n位以下的DS-数之和。 已知S(3)=63270,S(7)=85499991450。 求S(2020),并将你的答案对1016取余。
Gitalking ...