With how many zeros does the number 100! - 99! end ?
22
Trailing zeros of a number equal the number of times 10 = 2 × 5 divides it. In factorials 2s are plentiful, so the count of factors of 5 decides the number of zeros.
Step 1 — Factor: \(100! - 99! = 99!(100 - 1) = 99! \times 99\).
Step 2 — Factors of 5 in 99! = \(\left\lfloor \frac{99}{5} \right\rfloor + \left\lfloor \frac{99}{25} \right\rfloor = 19 + 3 = 22\).
Step 3 — 99 = 9 × 11 contains no factor 5 (and no factor 10), so multiplying by 99 adds no zeros. The number ends with 22 zeros.
100! alone has 24 zeros, but the difference is not 100!; 21 and 20 undercount the multiples of 25 (25, 50, 75 each give an extra 5), and 19 counts only multiples of 5.
22 option is correct.
The product of two positive numbers is p. If one of them is greater than 1, then p is :
If 1 is added to each odd digit and 2 is subtracted from each even digit in the number 8317456, what will be the sum of the digits that are second from the left and second from the right?