A long line of numbers
Suppose I start writing the numbers from 1 on up one after another, as follows:
1234567891011121314151617181920212223242526272829...
If I had an infinite amount of time and patience (I in fact have neither!) I could keep this string of digits going forever.
There are two parts to this puzzle:
1. What is the two-millionth digit in this string of numbers?
2. What six-digit number am I writing when I write the two-millionth digit?
Courtesy of Mark Nielsen