Skip to main content
3 of 3
added the (digits) tag - this is the closest tag to the topic "number written in decimal form" I was able to find
Martin Sleziak
  • 4.7k
  • 4
  • 35
  • 40

The number of numbers no greater than n that are divisible by all their suffixes

My question: what a formula for finding the number of numbers no greater than n that are divisible by all their suffixes.

e.g: 5, 25, 125, 0125, 70125 are divisors of 70125.

refinement: $\overline{0...0a_1a_2...} = \overline{a_1a_2...}$