wiz-icon
MyQuestionIcon
MyQuestionIcon
5
You visited us 5 times! Enjoying our articles? Unlock Full Access!
Question

x! ends with n zeroes. (x+1)! ends with n+2 zeroes. 24≤x≤626. How many values are possible for x?

Open in App
Solution


x! ends with n zeroes
(x + 1)! ends with n + 2 zeroes
24x626
as x! ends with n zeroes
So it will be have (5×5...n times)(2×2×....m times)
=/5n/5m5n2m(m>n)
(x + 1)! ends with (n + 2) zeroes
(x+5)! will have 5n+22m(m>n)
So, we need to find number of multiples of 25 but not multiples of 125
As if it is 125, then there will be one more 5 which give one more zero
So between 24 - 626
Theri will be 25 number of multiples of 25 but out those 25, 5 numbers i.e. 125, 250, 315, 500 and 625 (Which are multiples of 125) so we will substract them.
there will be 20 possible values of x.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Highest Power and Summation
QUANTITATIVE APTITUDE
Watch in App
Join BYJU'S Learning Program
CrossIcon