Legendre’s Factorial Formula
https://www.youtube.com/watch?v=4p68aPqeegA We can ask the question: how many times does a prime $p$ divide into a factorial $n!$ until $p$ does not divide $n!$ any more? This is called the $p$-adic valuation or order of $p$ in $n!$. Interestingly, there is a nice formula for this called Legendre’s formula, which relies on a counting argument. […]
Legendre’s Factorial Formula Read More »