Difference between revisions of "Legendre's Formula"
m |
m |
||
Line 1: | Line 1: | ||
'''Legendre's Formula''' states that | '''Legendre's Formula''' states that | ||
− | <cmath>e_p(n)=\sum_{i\geq 1} \left\lfloor \dfrac{n}{p^i}\right\rfloor =\frac{n-S_{p}(n)}{p-1}</cmath> | + | <cmath>e_p(n!)=\sum_{i\geq 1} \left\lfloor \dfrac{n}{p^i}\right\rfloor =\frac{n-S_{p}(n)}{p-1}</cmath> |
− | where <math>p</math> is a prime and <math>e_p(n)</math> is the [[exponent]] of <math>p</math> in the [[prime factorization]] of <math>n | + | where <math>p</math> is a prime and <math>e_p(n)</math> is the [[exponent]] of <math>p</math> in the [[prime factorization]] of <math>n</math> and <math>S_p(n)</math> is the [[sum]] of the [[digit]]s of <math>n</math> when written in [[base]] <math>p</math>. |
==Proof== | ==Proof== |
Revision as of 08:47, 31 August 2009
Legendre's Formula states that
where is a prime and is the exponent of in the prime factorization of and is the sum of the digits of when written in base .
Proof
This article is a stub. Help us out by expanding it.