Dominating Numbers
A dominating number is a positive integer that has more than half of its digits equal.
For example, is a dominating number because three of its four digits are equal to . But is not a dominating number.
Let be how many dominating numbers are less than . For example, and .
Find . Give your answer modulo .
支配数
支配数是指有一半以上数字相同的正整数。
例如,是支配数,因为其四个数字中有三个是。反之,不是一个支配数。
记为小于的支配数的数目。例如,,。
求,并将你的答案对取余。
Gitalking ...