百科全书有多少页

  • 时间:2020-04-02 21:17:33
  • 分类:数学世界
  • 阅读:92 次

题目如下:编一本百科全书的页码用了6869个数字,该书共有多少页?

解题思路:这道题实际上是求从1开始一直写到多少,写出的数字正好有6869个。通过例举,可以发现其中有规律可循。

解题方法:

从1到9共有9个数字;

从10到19共有20个数字;

所以从1到99共有:9+20×9=189(个)数字。

从100到999共有:3×900=2700(个)数字。

所以从1到999共有189+2700=2889(个)数字。

因为从1000开始每个数有四位,所以最后的页数是从1000开始的第:(6869-2889)÷4=995(个),这个数就是1000+995-1=1994(页),因为1000是四位数中的第一个,所以第995个四位数就是1994。

推荐阅读:
Set Up Website Health Checks (Canaries) using CloudFlare  Deep Clone N-ary Tree using Hash Map + Recursive Depth First Sea  SQLite Explan: Why the Most Popular Accounts Query is Slow compa  Steem Reputation Format Function in PHP  Dynamic Programming Algorithm to Compute the Max Dot Product of   7 Tips Freelancers Can Leverage Email Marketing  Best Blogging Advice for Marketing Your Product  5 Business Backgrounds for a Blogging Career  Things To Keep in Mind When Starting a Wedding Blog  Best Topics and Themes for Driving Traffic to Your Blog 
评论列表
添加评论