|
Hi Raghav,
That is indeed te starting point. There will definitely be more counts of 2 than 5, so counting 5's is probably the best way to go about this. There are 10 numbers that are multiples of 5 less than 50 as well. However, there are a few numbers that are a multiple of 5^2 as well. These numbers will contribute two zeroes, as it where.
So, the right answer would be 10+2=12. There would be 12 zeroes in 50!.
The logical extension of this question would be - what is the formula to find the number of zeroes in n!?
Cheers
_________________ 2iim - CAT Classes, Correspondence material, ebooks. Next CAT weekend batch @ Chennai Starts Oct 23rd, 2010
|