We use to represent the choices for digit , let's consider digit-by-digit
: we only can have it as so we've only single choice
: we can multiply by three times then we've which means four choices.
: we can multiply by two times and divide once then we've which means four choices.
: we can multiply by once then which means we've two choices
: we can multiply by once and divide twice then we've which means four choices.
: we only have it as a choice
: we can divide once by then we've which means two choices
: we only have it as a choice
: we can divide three times
: we only have it as a choice
putting it all gives
tolikshift Thanks ! , Fixed.
Dyadka_Dimka Your welcome , Happy I'm helped.
regardless of , We're asking how many that's is a multiple of
this is equivalent to count of divisors of
I cannot write more because it's already covered in the editorial.
Have a nice day.
Dyadka_Dimka Read Statement Carefully Please