Let denote the number of trailing zeros in for a positive integer .
Let be the set of all positive integers which satisfy the equation
Find
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
It is easy to see that x = 1 is a solution to the equation.
Further, it can also be seen that T ( x ) is a monotonically increasing function for x ≥ 5 , and has a slope greater than one for x ≥ 1 0 , whereas x − 1 always has a slope of one.
This means that T ( x ) − x + 1 decreases for 1 ≤ x ≤ 4 , is constant for 5 ≤ x ≤ 9 and is increasing for higher values of x .
This would further mean that there is no solution in the range 1 < x ≤ 9 (as T ( x ) < x − 1 in the range)
On search in x ≥ 9 range, we can see that x 2 = 1 2 is another solution.
Now, since the slope of T ( x ) is greater than the slope of x − 1 for x > 1 2 , it can be said that there would be no further solutions.
Hence, the required answer is
T ( 1 + 1 2 ) − ( 1 + 1 2 ) + 1 = T ( 1 3 ) − 1 2 = 1