Could someone give me examples with explanations of how factorials are calcualted using primes.

I have found this:

10! = 2^8 * 3^4 * 5^2 * 7

which gives the correct answer. I see that the calculation uses all the primes less than the number(10), but where did the exponents come from?

What does 20! look like and why?