Does there exist a sequence $(a_n)_{n\in\mathbb N}$ of distinct positive integers such that: (i) $a_n<1999n$ for all $n$; (ii) none of the $a_n$ contains three decimal digits $1$?
Source: Mongolia 1999 Grade 10 P3
Tags: number theory, Sequences
Does there exist a sequence $(a_n)_{n\in\mathbb N}$ of distinct positive integers such that: (i) $a_n<1999n$ for all $n$; (ii) none of the $a_n$ contains three decimal digits $1$?