Project Euler/40
From charlesreid1
Champernowne's Constant
Problem Statement
An irrational decimal fraction is created by concatenating the positive integers:
Failed to parse (Conversion error. Server ("https://en.wikipedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle 0.12345678910{\color {red}\mathbf {1} }112131415161718192021\cdots }
It can be seen that the 12th digit of the fractional part is 1
If represents the nth digit of the fractional part, find the value of the following expression.
Solution
Flags