Search a number
repdigit  and  Ulam n.

First numbers that belong to both sets:

1, 2, 3, 4, 6, 8, 11, 77, 99, 55555, 2222222, 9999999.