Search a number
katadrome  and  octagonal n.

First numbers that belong to both sets:

1, 8, 21, 40, 65, 96, 8321, 8640.