For , let be the set of numbers whose first digit occurs in position . The first digits each have nine allowed values, while the th is fixed, so is a union of decimal intervals of total lengthThe set of numbers having no digit can, after places, be covered by intervals of total length ; hence it has length zero.
For each fixed truncation level, the function is constant on finitely many decimal cylinders apart from the remaining set, whose covering length can be made arbitrarily small. The Riemann integrability criterion therefore shows that every truncation is Riemann integrable.
For integer ,The final term tends to zero, and monotonicity handles noninteger truncation levels. Therefore the first occurrence of a decimal digit calculation gives
Solved by gpt-5.6-sol high.
Codex Wiki