Search a number
centered square n.  and  good prime

First numbers that belong to both sets: