Near Power Sums
A positive integer, , is a near power sum if there exists a positive integer, , such that the sum of the th powers of the digits in its decimal representation is equal to either or . For example is a near power sum number because .
Define to be the sum of all near power sum numbers of digits or less.
Then and .
Find .
近幂和数
对于正整数,若存在正整数使得的各位数字的次幂之和等于或,则我们称为近幂和数。例如,是近幂和数,因为。
记为所有至多位数字的近幂和数之和。
已知,。
求。
Gitalking ...