Problem

Source:

Tags: combinatorics, contests



Mica wrote a list of numbers using the following procedure. The first number is $1$, and then, at each step, he wrote the result of adding the previous number plus $3$. The first numbers on Mica's list are $$1, 4, 7, 10, 13, 16,\dots.$$Next, Facu underlined all the numbers in Mica's list that are greater than $10$ and less than $100000,$ and that have all their digits the same. What are the numbers that Facu underlined?