LittleDimamisbehavedduringamathlessonalotandthenastyteacherMr. Picklesgavehimthefollowingproblemasapunishment. Findallintegersolutionsx (0 ?? X ?? 109) oftheequation: x ?? B · s (x) ?? C ,? Wherea, B, c
Little Dima misbehaved during a math lesson a lot and the nasty teacher Mr. Pickles gave him the following problem as a punishment. Find all integer solutions x (0 ?? X ?? 10 9) of the equation: x? =? B · s (x) ?? C ,? Where a, B, c
Little Dima misbehaved during a math lesson a lot and the nasty teacher Mr. Pickles gave him the following problem as a punishment.
Find all integer solutionsX(0? X?
X? =?
B·
S(
X)
A? +?
C,?
WhereA,B,CAre some predetermined constant values and functionS(X) Determines the sum of all digits in the decimal representation of numberX.
The teacher gives this problem to Dima for each lesson. He changes only the parameters of the equation:A,B,C. Dima got sick of getting bad marks and he asks you to help him solve this challenging problem.