Search a number
octagonal n.  and  Proth n.

First numbers that belong to both sets: