数学题:乘积末尾有几个0

  • 时间:2020-05-12 13:38:15
  • 分类:数学世界
  • 阅读:142 次

数学题:乘积末尾有几个0?1*2*3*4……..*50得到的结果后有几个0?

数学题解答:积的末尾有一个0,可以理解为有一个因数10。有两个0,可以理解为有两个因数10,……依次类推。而10可以分解为:10=2*5,也就是说一个因数2和一个因数5便可以使积的末尾有一个0。

从1到50各数中,含有因数2的远远超过含有因数5的。所以只需算出这些数中,一个含有几个因数5,就可以确定积的末尾有几个0了。

从一到50中,5的倍数有5,10,15,……,50。分别是5的1倍到10倍,其中25和50都含有两个因数5,其余的只含有一个因数5。所以,这些数中一共含有:10+1+1=12(个)因数5,所以积的末尾有12个0。

经计算机验证,答案是正确的,如下图:

50!

推荐阅读:
How to Fix a Slow/Incorrect Clock on Windows?  How to Put Current Running Program in Background without Being T  How to Break a Palindrome String by Replacing a Character?  How to Make a Safe Online Community for Your Business?  Tips to Find the Best Website Hosting Service  Classic, But Effective Online Marketing Strategies  Binary Search Algorithm to Find the Smallest Divisor Given a Thr  How to Create a Travel Blog Post That Makes Your Audience Fly  8 Best WordPress Membership Plugins  6 Tips For Doing Taxes as a Freelancer 
评论列表
添加评论