Search a number
octagonal n.  and  uban n.

First numbers that belong to both sets: