Difference between revisions of "Legendre's Formula"
(yay AMSP!) |
m |
||
Line 1: | Line 1: | ||
'''Legendre's formula''' states that | '''Legendre's formula''' states that | ||
− | <cmath>e_p(n)=\sum_{i\geq 1} \lfloor \dfrac{n}{p^ | + | <cmath>e_p(n)=\sum_{i\geq 1} \lfloor \dfrac{n}{p^i}\rfloor =\frac{n-S_{p}(n)}{p-1}</cmath> |
where <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 digits of n when written in base <math>p</math>. | where <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 digits of n when written in base <math>p</math>. |
Revision as of 10:17, 5 August 2008
Legendre's formula states that
where is the exponent of in the prime factorization of , and is the sum of the digits of n when written in base .
Proof
This article is a stub. Help us out by expanding it.