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 16 digits as the answer.
定义 为 在 进制下的数位和。例如,因为 ,故 。当进制不同时,大多数情况下,这些进制下的数位和不相等。例如 。
但是,对于某些数字 ,在某些进制下,它们的数位和是相等的,就如 。令 为所有满足 且 的自然数 之和。已知:、 且 。
求出 ,你只需给出答案的最后 16 位。
点 这个链接 回到源站。
点 这个链接 回到详细版题目目录。