Ethereal
I was reading this tutorial and I came across this part which I didn't quite understand:
I don't follow this. What does "a will be counted j times and will contribute i towards t" mean? Why does this show that t=s?Theorem: Let n and p be positive integers and p be prime. Then the largest exponent s such that p^s|n! is:
s = \sum_{j{\geq}1} \displaystyle{\lfloor} \frac{n}{p^j} \displaystyle{\rfloor} (1)
Proof Let m_i be the number of multiples of p^i in the set {1,2,3,...,n}. Let
t = m_1 + m_2 + m_3 + ... + m_k (2)
Suppose that a belongs to {1,2,3,...,n}, and such that p^j|a but not p^{j+1}|a. Then in the sum (2) a will be counted j times and will contribute i towards t. This shows that t=s.