number with no zeros among its digits. Count how many of its digits divide the number with no remainder.
Each position counts on its own: if a qualifying digit appears several times, count it that many times.number=36 → 2
36 is divisible by both 3 and 6.
number=255 → 2
255 is not divisible by 2 but is divisible by 5, which appears twice. The answer is 2.
number=97 → 0
97 is prime, so neither 9 nor 7 divides it.
number ≤ 10⁹number has no digit 0number=36
2
Run checks the first 3 tests in your browser. Submit checks all 66 tests on the server, hidden ones included.