If we have some prime p and a natural number k, is there a formula for the largest natural number nk such that pnk|k!.
This came up while doing an unrelated homework problem, but it is not itself homework. I haven't had any good ideas yet worth putting here.
The motivation came from trying to figure out what power of a prime you can factor out of a binomial coefficient. Like (pmk).
Answer
This follows from a famous result of Kummer:
Theorem. (Kummer, 1854) The highest power of p that divides the binomial coefficient (m+nn) is equal to the number of "carries" when adding m and n in base p.
Equivalently, the highest power of p that divides (mn), with 0≤n≤m is the number of carries when you add m−n and n in base p.
As a corollary, you get
Corollary. For a positivie integer r and a prime p, let [r]p denote the exact p-divisor of r; that is, we say [r]p=a if pa|r but pa+1 does not divide r. If 0<k≤pn, then
[(pnk)]p=n−[k]p.
Proof. To get a proof, assuming Kummer's Theorem: when you add pn−k and k in base p, you get a 1 followed by n zeros. You start getting a carry as soon as you don't have both numbers in the column equal to 0, which is as soon as you hit the first nonzero digit of k in base p (counting from right to left). So you really just need to figure out what is the first nonzero digit of k in base p, from right to left. This is exactly the ([k]p+1)th digit. So the number of carries will be (n+1)−([k]p+1)=n−[k]p, hence this is the highest power of p that divides (pnk), as claimed. ◻
No comments:
Post a Comment