Search a number
bemirp  and  congruent n.

First numbers that belong to both sets: