Search a number
heptagonal n.  and  oban n.

First numbers that belong to both sets:

7, 18, 55, 616, 697, 783, 970.