2024 SSMO Tiebreaker Round Problems/Problem 3
Problem
Let be a terminating decimal. The length of
is defined to be the length of the shortest sub-sequence of consecutive digits that include all nonzero digits and at least one of
So, the length of
is
and the length of
is
Let
be the average of all numbers with a terminating decimal of length
Find the value of