Question 166
Someone obtained a positive integer $n$ by concatenating the positive integers from 1 to 100000 in order, i.e. $n = 123456789101112...9999899999100000$. How many times does '2022' appear as consecutive digits of $n$?
Math Olympiad Vault · MathNet 2022-part-02 — 197 problems (EN–VI)