Given an odd prime p, how does one find the highest power of p that divides
n∏i=0(2i+1)?
I wrote it down all paper and realized that the highest power of p that divides this product will be the same as the highest power of p that divides (⌈n2⌉−1)!
Since
10!=1×2×3×4×5×6×7×8×9×10 while
4∏i=0(2i+1)=1×3×5×7×9
Am I in the right track?
Thanks,
Chan
Answer
Note that n∏i=1(2i−1)=(2n)!2nn!.
Clearly, the highest power of 2 dividing the above product is 0.
For odd primes p, we proceed as follows.
Note that the highest power of p dividing ab is nothing but the highest power of p dividing a - highest power of p dividing b.
i.e. if sp is the highest power of p dividing ab and spa is the highest power of p dividing a and spb is the highest power of p dividing b, then sp=spa−spb.
So the highest power of p dividing (2n)!2nn! is nothing but s(2n)!−s2n−sn!.
Note that s2n=0.
Now if you want to find the maximum power of a prime q dividing N!, it is given by
sN!=⌊Nq⌋+⌊Nq2⌋+⌊Nq3⌋+⋯
(Look up this stackexchange thread for the justification of the above claim)
Hence, the highest power of a odd prime p dividing the product is (⌊2Np⌋+⌊2Np2⌋+⌊2Np3⌋+⋯)−(⌊Np⌋+⌊Np2⌋+⌊Np3⌋+⋯)
No comments:
Post a Comment