How many 10-digit positive integers with no leading zeros (i.e., integers from 1,000,000,000 to 9,999,999,999) have at most 7 consecutive zeros? For example, the number 3,000,000,200 has 8 zeros but they are not all consecutive and therefore this number should be counted. On the other hand, the number 8,000,000,001 has 8 consecutive zeros and should not be counted.


LinkBack URL
About LinkBacks