Search a number
prime n.  and  repfigit n.

First numbers that belong to both sets:

19, 47, 61, 197, 1084051.