Profile
Achievement
FMalk's Recent SnippetsTagged number
- All /
« Prev 1 Next »
Find how many factors there is in N! for a prime P
Ex: 5! = (2^3)*(3^1)*(5^1)
mult(5,2) = 3
mult(5,3) = 1
mult(5,5) = 1
all else = 0
0
702
posted 13 years ago by FMalk