Loading [MathJax]/jax/output/HTML-CSS/jax.js

Saturday, April 12, 2014

Problem 10

MathJax TeX Test Page 10. How many zeros are there at the end of the number 1000!=(1)(2)(3)...(999)(1000)? How many for 1001!, 1002!, 1003!, 1004!, and 1005!?

Proof: Let n=2a5bm with 2,5 | m. Then n has min{a,b} zeros at the end, as 10c | n2c,5c | ncmin{a,b}. By Legendre's theorem for the power of p in n!vp(n!)=k=1n/pkwe see we will have to pay attention only to the power of 5 in computing the number of zeros at the end. Use Legendre's theorem for this application on 1000 to obtain 249 zeros, and the same goes for 1001!,...,1004! as they don't have any greater powers of 5, and 1005=3·5·67 contributes one extra zero to 1005! for a total of 250.

No comments:

Post a Comment