So we're seeking a (154-95)-digit number, i.e., a 59 digit number.
The 2-digit numbers 19 through 89 contain only eight 9's to start with and would leave you with only 12 digits from the 90's, so at some point you should start looking for 8's rather than 9's.
Let's look at the original 154-digit number:
The first 9 is in position 2, leaving 152 digits remaining to form our 59-digit number. (I am counting positions from the left.)
We continue like this, but after finding the 5th 9 in position 82, if we took another 9, from position 102, we'd have only 52 digits remaining, but we'd have built only 6 digits of the new number, so we couldn't achieve the 59 we want. So, as the next digit, we'll settle for the 8 in position 100. Now that we have built six digits, taking the 9 from position 102 gives us the 7th digit. Then the remaining 52 digits will complete our 59-digit number:
the first 19 of which are:
Posted by Charlie
on 2008-11-17 16:10:24