Another fact on factorial

Let T ( x ) T(x) denote the number of trailing zeros in n = 1 x n ! \prod_{n=1}^{x} n! for a positive integer x x .

Let { x 1 , x 2 , , x p } \{x_1,x_2,\cdots,x_p\} be the set of all positive integers x i x_i which satisfy the equation

T ( x i ) x i + 1 = 0 T(x_i)-x_i+1=0

Find T ( i = 1 p x i ) i = 1 p x i + 1 T\left(\sum_{i=1}^p x_i\right)-\sum_{i=1}^p x_i+1


The answer is 1.

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.

1 solution

It is easy to see that x = 1 x=1 is a solution to the equation.

Further, it can also be seen that T ( x ) T(x) is a monotonically increasing function for x 5 x \ge 5 , and has a slope greater than one for x 10 x \ge 10 , whereas x 1 x-1 always has a slope of one.

This means that T ( x ) x + 1 T(x)-x+1 decreases for 1 x 4 1 \le x \le 4 , is constant for 5 x 9 5 \le x \le 9 and is increasing for higher values of x x .

This would further mean that there is no solution in the range 1 < x 9 1 < x \le 9 (as T ( x ) < x 1 T(x)<x-1 in the range)

On search in x 9 x \ge 9 range, we can see that x 2 = 12 x_2=12 is another solution.

Now, since the slope of T ( x ) T(x) is greater than the slope of x 1 x-1 for x > 12 x>12 , it can be said that there would be no further solutions.

Hence, the required answer is

T ( 1 + 12 ) ( 1 + 12 ) + 1 = T ( 13 ) 12 = 1 T(1+12)-(1+12)+1=T(13)-12=\boxed{1}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...