2016 Latvia National Olympiad 3rd Round Grade11Problem4
Source:
July 22, 2016
recursionnumber theory
Problem Statement
The integer sequence "having pattern 2016'" is defined as follows:
The first member is 2.
The second member is the least positive integer exceeding and having digit 0 in its decimal notation.
The third member is the least positive integer exceeding and having digit 1 in its decimal notation.
The third member is the least positive integer exceeding and having digit 6 in its decimal notation.
The following members are defined in the same way. The required digits change periodically: . The first members of this sequence are the following: .\\
Does this sequence contain a) 2001, b) 2006?