Search a number
centered square n.  and  oban n.

First numbers that belong to both sets:

5, 13, 25, 85, 313, 365, 613, 685, 925.