If I took all the numbers from one to one billion:
- How many of them contain at least one '1'?
- If I wrote them out in one long line, how many 1 digits would there be?
(In reply to re: Solutions
The agreement of the two ways is shown by this UBASIC:
10 for i=0 to 8
Internal rounding results in those differences from integer.
Posted by Charlie
on 2004-07-26 10:54:50