Search a number
Friedman n.  and  good prime

First numbers that belong to both sets: