Search a number
centered octagonal n.  and  heptagonal n.

First numbers that belong to both sets: