Homepage Solution manuals David S. Dummit Abstract Algebra Exercise 0.2.8 (Legendre's formula)

Exercise 0.2.8 (Legendre's formula)

Let p be a prime, n + . Find a formula for the largest power of p which divides n ! = n ( n 1 ) ( n 2 ) 2 1 (it involves the greatest integer function).

Answers

I have not discovered this formula, which is known as Legendre’s formula, or de Polignac’s formula ! I reproduce the proof already given in Ex. 2.6 of Ireland-Rosen (see also the solution of Ex. 4.1.1 of Niven, Zuckerman, Montgomery).

Here the integer ord p k is defined by

ν = ord p k { p ν k , p ν + 1 k .

Proof. The multiples of q in the interval [ [ 1 , n ] ] are q , 2 q , , 𝑘𝑞 , where 1 𝑘𝑞 n . Since

1 𝑘𝑞 n 1 k n q 1 k n q ,

the number of positive multiples 𝑘𝑞 of q at most equal to n is given by n q .

The number N k of multiples m of p k which are not multiple of p k + 1 , where 1 m n , is

N k = n p k n p k + 1 .

Each of these numbers brings the contribution k to the sum ord p n ! = k = 1 n ord p k . Thus

ord p n ! = k 1 k ( n p k n p k + 1 ) = k 1 k n p k k 1 k n p k + 1 = k 1 k n p k k 2 ( k 1 ) n p k = n p + k 2 n p k = k 1 n p k

So

ord p n ! = k 1 n p k .

Note that n p k = 0 if p k > n , so this sum is finite. Since p k > n is equivalent to k > log ( n ) log ( p ) = log p ( n ) , this gives

ord p n ! = k = 1 log p ( n ) n p k .

User profile picture
2025-12-27 11:17
Comments