Problem #335
Power Game
A number x is called powerful if it has 10^9 + 7 digits such that every digit of x is odd, and x \equiv 3125 \pmod{298023223876953125}.
If the total number of powerul natural numbers is A, find A \bmod 10^9 + 7.
A number x is called powerful if it has 10^9 + 7 digits such that every digit of x is odd, and x \equiv 3125 \pmod{298023223876953125}.
If the total number of powerul natural numbers is A, find A \bmod 10^9 + 7.