Search a number
cyclic n.  and  primeval n.

First numbers that belong to both sets: