Processing math: 0%

Problem #50

Divisibility

Find the base of a counting system, like decimal(10), binary(2) etc., less than 1000000 in which maximum numbers follow the following property:

"If x is divisible by y, sum of digits in x will also be divisible by y."

In case there is more than 1 possible answer, then concatenate the possible answers in ascending order without any spaces in between. For example if the answers are 3, 21 and 54 then your answer should be 32154.

Contributed by Analkumar Shahi

Solved by 27 users

Log in to submit answers.

Is something wrong?

Maintaining a collection of high quality questions is our top priority. If, however, you do find an error, report the problem and we'll make sure it is reviewed soon.