-Like Numbers
For a positive integer , define to be the number of non-empty substrings of that are divisible by . For example, the string “” has non-empty substrings, three of which represent numbers that are divisible by , namely , and . So .
If is divisible by then we say that is -like.
Define to be how many digit numbers are -like. For example, and .
Find . Give your answer modulo .
似数
将正整数视为数字串,记为能被整除的的非空子串数目。例如,数字串””有个非空子串,其中有三个能被整除,分别是、和,因此。
如果能被整除,则称为似数。
记为位数中似数的个数。例如,,。
求并将你的答案对取余。
Gitalking ...