Search a number
pernicious n.  and  repdigit

First numbers that belong to both sets:

3, 5, 6, 7, 9, 11, 22, 33, 44, 55, 66, 88, 333, 555, 666, 3333, 6666, 7777, 55555, 3333333, 5555555, 6666666.