The smallest positive integer for which is a multiple of 5 is . All positive integers, , for which is a multiple of 5 are listed in increasing order. What is the 2018 integer in the list?
Problem 662
Pick one
Official solution
In each block , there is 1 digit 1, 2 digits 2, 3 digits 3, and so on.
The total number of digits written in each block is .
We note that gives a quotient of 43 and a remainder of 18 (that is, ).
Since each block contains 45 digits, then 43 blocks contain digits.
Since , then the 18 digit written in the next block (the 44 block) will be the 1953 digit written.
Writing out the first 18 digits in a block, we get 122333444455555666, and so the 1953 digit written is a 6.