Search a number
cyclic n.  and  Motzkin n.

First numbers that belong to both sets: