link mingle home | logged in as: guest | login/register| submit link


IndiaDiscuss.com : Social Bookmarkings and News Networking Site for India
interview_questions
Bookmarks
Trailing zeros in n!
-19
Votes

How many trailing zeros are there in n factorial?

saved under General Puzzles by interview_questions

 
no of Zros in N! = floor(N/5) + floor(N/5^2)+ floor(N/5^3)...+ floor(N/lg5 N) where lg5 is log to base 5.
comment by video on 2008-06-25 11:51:06
 



Enter the string above
 
IndiaDiscuss | Published News | Hot
Indian Social News and Links Network
IndiaDiscuss | Published News
Indian Social News and Links Network