For any two strings of digits, and , we define to be the sequence in which each term is the concatenation of the previous two.
Further, we define to be the th digit in the first term of that contains at least digits.
Example:
Let , . We wish to find , say.
The first few terms of are:
Then is the th digit in the fifth term, which is .
Now we use for the first digits of behind the decimal point:
and for the next hundred digits:
.
Find .
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.