Conside the integers from 1 to 10,000,000.Calculate the numb

问题描述:

Conside the integers from 1 to 10,000,000.Calculate the number of integers that have the digit 1 in their representation.
Answer_____
1个回答 分类:数学 2014-11-10

问题解答:

我来补答
在所有1-10,000,000的整数中,有几个数位中包含“1”的
将不足7位的数视作前面有0.
故此,从0,000,001到9,999,999中,所有“没有1”的数共有9^7=4782969个
那么有一的就有9,999,999-4,782,969+1=5,217,031个
 
 
展开全文阅读
剩余:2000