Matching Digit Sums
Let be the digit sum of the number in base . For example , since . When using different bases, the respective digit sums most of the time deviate from each other, for example .
However, for some numbers there will be a match, like . Let be the sum of all natural numbers for which . For example, , and .
Find , giving the last digits as the answer.
相同数字和
记为数在进制下的数字和。例如,,因为。不同进制下的数字和通常是不同的,例如。
然而,对于某些数,在不同进制下的数字和可能会相同,比如。记为所有满足且的自然数之和。例如,,,。
求,并给出其最后位数字作为你的答案。
Gitalking ...