Learn how to find the number of trailing zeroes in a factorial and find the power of prime p in a factorial as well. While this might seems difficult at first, it is quite easy, and if you remember one simple formula (and maybe even the reasoning), you can get the answer for any number in no time!