Problem 40
Champernowne's constant

An irrational decimal fraction is created by concatenating the positive integers:


It can be seen that the 12th digit of the fractional part is 1.

If dn represents the nth digit of the fractional part, find the value of the following expression.


These problems are part of Project Euler and are licensed under CC BY-NC-SA 2.0 UK