Search a number
heptagonal n.  and  magnanimous n.

First numbers that belong to both sets: