Search a number
idoneal n.  and  octagonal n.

First numbers that belong to both sets:

1, 8, 21, 40, 133, 280, 408.