Algorithm to find the maximum power of N that divides M factorial (M!)


This is a companion discussion topic for the original entry at http://iq.opengenus.org/maximum-power-n-divide-m-factorial/