Search a number
nonagonal n.  and  powerful n.

First numbers that belong to both sets: