Search a number
repdigit  and  trimorphic n.

First numbers that belong to both sets: