Search a number
octagonal n.  and  perfect power

First numbers that belong to both sets: