KnowraLegendre's formulaLinked fromLinked fromThe 4 pages that link to Legendre's formula, each with the reason it gives.All 4Related 3Compared with 1Lifting-the-exponent lemmaCompared with: It solves a related valuation problem, but counts prime factors in factorials rather than power differences.