Search a number
repdigit  and  wasteful n.

First numbers that belong to both sets: