Search a number
deficient n.  and  repfigit n.

First numbers that belong to both sets: